• Advertisement

Archived

This topic is now archived and is closed to further replies.

Sound in linux

This topic is 5715 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How does sound work in Linux? I heard once that the sound was queaed (or however you spell it) in a buffer, instead of real-time, like Windows. If that''s so, what''s the point in that? And if it''s quaed in a buffer, why is it so hard to get two sounds to play at the same time?

Share this post


Link to post
Share on other sites
Advertisement
It''s spelled "queued" . I don''t know anything about how the low level sound output is managed in Linux (or any other OS, really). However, I know that the higher level libraries for sound output make it pretty easy (and it sure seems close enough to realtime where I don''t notice it ). To get two sounds to play at the same time you must pass them through a mixer. The sound libraries I refer to supply one and some abstract it away pretty well. Look into SDL or OpenAL if you want to deal with high-level sound output.

Share this post


Link to post
Share on other sites
If you don''t intend to run sync, do mixing locally,
and performance is an issue, then you can make your
life simpler by looking into

http://wolfpack.twu.net/YIFF/

Share this post


Link to post
Share on other sites

  • Advertisement