[SDL] PulseAudio output for SDL
stephan at kochen.nl
Tue Apr 17 13:41:09 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Today, I spent some time to write a simple PulseAudio driver for SDL.
You'll find a patch against the SDL 1.2 subversion branch attached.
(I hope I didn't duplicate any effort. I couldn't find anything.)
Though I was wondering, is there any reason why most audio drivers seem
to use asynchronous mode and then poll the destination device in their
PlayAudio function? (Instead of simply using synchronous mode and
blocking on write.)
I wrote this using the simple synchronous API of PulseAudio, and it
seems to work just fine.
I've tested this on Ubuntu Feisty against: Abuse, Enigma, Frozen Bubble,
Heroes, Maelstrom, Neverball, Nexuiz and VisualBoy Advance. I've seen no
problems in my testing. Let me know about your results!
- -- Stéphan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16093 bytes
Desc: not available
More information about the SDL