PulseAudio output for SDL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey all,

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!

Best regards,
- -- St?phan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGJTDlcFUq0gzqDwQRAqNOAJ9MT2Rn1p8ygX3w+YdDsDpxt7ZcfACfXi+t
asaQsv6pV/XZz+iSJu8+ArE=
=mnOD
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdlpulse.patch
Type: text/x-patch
Size: 16093 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20070417/9c70a342/attachment.bin>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux