Hello,
i have any idea hot to solve encoding from tile to stream.
I have event which is faired when wants specific size of data. So i know destination sample size what i need to send. I have no idea how to solve this.
For example i have mp3 and i need wav of sample size 100 to be send.
Thanks anyone
Just use Mp3FileReader, and in the call to Read, ask for the number of bytes you need (e.g. for 100 samples in a stereo MP3 file that would be 100 2channels 2bytes_per_sample = 400 bytes)
Hello, i have any idea hot to solve encoding from tile to stream. I have event which is faired when wants specific size of data. So i know destination sample size what i need to send. I have no idea how to solve this. For example i have mp3 and i need wav of sample size 100 to be send. Thanks anyone