Hello,
I'm currently trying to play multiple AIF files at once from CD, using PCM library of SBL.
In the PCM manual, it's not clearly stated if I can do that with GFS or not. I tried it, it worked not. The first file was played back, after that, the second file started playing. Still, this does not proove, if it is impossible with GFS, in general.
So I tried the same with STM. The same diagnostic here, except that the second file is not played back at all, even not when the first file ended.
STM_IsComplete() reports true for the file not played back, some frames after playback started. Also, STM_ExecServer reports STM_EXEC_COMPLETED, when the file that is playing has finished.
Okay, now which of the two files is played back, depends on the order, in which STM_Open() is performed. The first file that's opened this way is played back, the second one not. All I know is that it's put into the group and STM_GetStmNum() reports that there are actually 2 STMs in the group.
In the PCM manual, there are some small notes on playing back multiple streams ot once.
Yes, I'm using the Stream library, I have assigned different PCM Stream playback numbers using PCM_SetPcmStreamNo() before playback starts, the two files are actually different files and both are uncompressed (not more than one ADPCM channel).
The remaining note that I'm not sure how to be compliant with is: I must use file interleaving or channel interleaving. WTF? The only occurance of "interleaving" is once in the STM manual, when talked about groups?
Any clue what to do for multiple audio file playback? What does file interleaving or channel interleaving mean?
Anyone else ever tried it or does there exist any demo that plays back multiple audio streams? Well, I know smppcm5.