How to play an MP3 stream in C#

后端 未结 2 627
后悔当初
后悔当初 2021-01-06 18:57

I want to play an MP3 stream in my C# application. I have a server application that captures wave audio and converts it into MP3, then writes it to a network stream. The cli

相关标签:
2条回答
  • 2021-01-06 19:38

    I have posted an article on my blog explaining how to play back an MP3 stream using NAudio. Essentially you have one thread downloading MP3 frames, decompressing them and storing them in a BufferedWaveProvider. Another thread then plays back using the BufferedWaveProvider as an input.

    0 讨论(0)
  • 2021-01-06 19:40

    http://www.un4seen.com/

    bass.dll .NET api

    i know its not the answer to your code but its a good music library

    0 讨论(0)
提交回复
热议问题