• Thomas Guillem's avatar
    audiotrack: refactor Configure and Start · b4d7ab2b
    Thomas Guillem authored
    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: default avatarJean-Baptiste Kempf <jb@videolan.org>
    b4d7ab2b
audiotrack.c 46.7 KB