Questions regarding audio callback and decoded audio
Posted: 03 Nov 2015 08:50
Hi,
- What is the four characters format to use with libvlc_audio_set_format in order to get have the samples as integers? Could "S32L" /"S32B" work?
- Are the samples received in the play callback interleaved, i.e. sample1channel1, sample1channel2, ... or we get them by channels block, i.e. sample1channel1, ..., sampleNchannel1, sample1channel2, ... ?
Thanks!
- What is the four characters format to use with libvlc_audio_set_format in order to get have the samples as integers? Could "S32L" /"S32B" work?
- Are the samples received in the play callback interleaved, i.e. sample1channel1, sample1channel2, ... or we get them by channels block, i.e. sample1channel1, ..., sampleNchannel1, sample1channel2, ... ?
Thanks!