I have a serious problem I don't know how to solve. I have a stream of data that is stored in a fixed array at the moment like this:
I'm trying to play it via CMdaAudioOutputStream* iAudioStream pointer. Problem is that AudioOutputStream takes an 8 bit descriptor const TDesC8 & aData as input. I managed to play the audio stream by casting the array, like this:
TFixedArray<TInt16, 50> iBuff;
But that, is not an acceptable solution because casting a signed integer in unsigned integer modifies data. Can someone tell me how to get my data to audio device without it being spoiled?