reading and playing music openAL

Hi ! We have a question about about openAL. We would like to know if anybody knows how to read a WAV file by chunks of a determined size, and after doing some processing with a specific chunk send that same chunk back to the sound card so we can play the whole WAV continiously (just like a music player). Thanks in advance, -- Maria Gabriela Valdes G. Linux Registered User #485743

On Tue, 6 Jul 2010, Maria Gabriela Valdes wrote:
Hi ! We have a question about about openAL. We would like to know if anybody knows how to read a WAV file by chunks of a determined size, and after doing some processing with a specific chunk send that same chunk back to the sound card so we can play the whole WAV continiously (just like a music player).
If ALSA is allowed as solution, then you may try the 'duplex' example in: http://hackage.haskell.org/package/alsa-pcm-tests
participants (2)
-
Henning Thielemann
-
Maria Gabriela Valdes