I am looking to develop a Silverlight application that will receive a data stream (and not an audio stream as such) from a web server.
Then the data stream will be processed to transmit sound in a certain format (for example, G.711 a-Law), which will then be converted to PCM so that additional effects can be applied (for example, to increase the volume).
I'm fine up to this point. I have data converted by G.711 to PCM, but my problem is to output that PCM sound to a sound card.
I base the solution on some C # code for a .NET application, but in Silverlight there is a problem trying to take a copy of the delegate (function pointer), which will be the subject of a separate question when I created a simple code example.
So, the question is ... How can I output the PCM sound that I saved in the data structure (currently an array) in my Silverlight for the user? (Please do not say, write the byte values in the text box)
If it was an MP3 or WMA file, I would play it using MediaElement, but I do not want it to get into the file, as this would prevent the application of dynamic effects to the audio.
I saw several messages from people talking about low sound support, poorly / does not exist in Silverlight, so I am open to any suggestions / ideas that people may have.
source
share