vlc | branch: master | Thomas Guillem <[email protected]> | Wed Mar 11 15:00:45 2015 +0100| [b4d7ab2bf417e6fc92f42d2228cdc134db19ef8a] | committer: Jean-Baptiste Kempf
audiotrack: refactor Configure and Start Rename JNIThread_Configure into JNIThread_NewAudioTrack. This function doesn't touch any vlc format anymore, it does only Android AudioTrack configuration. The VLC init part is done by the Start function. JNIThread_NewAudioTrack can be called up to 3 times by Start with different channels and format until if find a working configuration. Indeed some devices don't support 5.1, or FL32. Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b4d7ab2bf417e6fc92f42d2228cdc134db19ef8a --- modules/audio_output/audiotrack.c | 281 ++++++++++++++++++++----------------- 1 file changed, 154 insertions(+), 127 deletions(-) Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=b4d7ab2bf417e6fc92f42d2228cdc134db19ef8a _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
