libsdl-org / SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.
zlib License
435 stars 147 forks source link

How to play a non-seekable pcm stream? #488

Open xfirefly opened 1 year ago

xfirefly commented 1 year ago

I need to use SDL_mixer to play a network delivered pcm stream. To reduce latency, I can't cache the pcm data and play it back. I can't find any sample code, any suggestions would be appreciated.