I've asked this on the forum before and would like to update it. My original Post was as follows.
I've recently found someone with a similar question being asked on the original alljoyn forum. I would like to know if anyone has tried out the Linux audio service framework stock sample and heard actual speed music.
I am having problem working with the Linux audio service framework sample. I have successfully compiled the about core and audio framework and was able to run the sample audio SinkService and SinkClient. But when I proceed with playing the WAV file, the audio seems to be playing at an abnormally fast rate. Meaning for example an entire 3 min audio file was completed in 10 seconds like if I was fast-forwarding the music. I’ve tried different WAV (all with standard 16bit and 44.1kHz) file and also creating one myself. All of them were fast-forwarded. I’ve also tried aplay <file.wav> to verify the audio wav files and they played normally.</file.wav>
Was wondering if I can get any help on this. I suspect that the SinkClient time is slower and trying to catch up to the SinkService’s time resulting in the audio being fast forwarded.
the music that we are using contains the following type of information.
mSampleRate 44100 mBytesPerFrame 4 mBytesPerSecond 176400 bitsPerChannel 16 mChannelsPerFrame 2 mMaxBufferSize 882000 mFifoLowThreshold 705600 mBufferSize 16384