-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> Tanveer Singh writes:
Tanveer> One question though, in windows if application A is playing something, and I Tanveer> start application B which plays some other sound, I usually hear a mix of Tanveer> both through the speakers, can such a thing happen in linux too? Tanveer> Just speculating. This is what sound servers are invented for ? Multiplexing. Instead of your app, sound servers open your sound card device file, and your app communicates with those sound servers over TCP|UDP/IP, Unix domain sockets, or any other IPC or network protocol you can think of. ESounD/aRTSd/jackd/pulseaudio/nasd etc... are sound servers. But the good (or bad) thing is that there is no standard protocol for communication with sound servers, so you need to hack for each sound server. And each sound server has its own pros/cons. And some sound servers even expose themselves as an ALSA plugin, PulseAudio is one such sound server. So if your app understands ALSA, all audio data is routed to PulseAudio via PulseAudio's ALSA plugin. So your ALSA app can use PulseAudio without being aware of PulseAudio :) . BtW, there is another sound system, known as OSS[1] which is the standard sound system in Unix (FreeBSD uses OSS). So if you're writing a cross-platform app, you need to target OSS. So the answer to query is you need to chose a appropriate sound server. References: [1] - http://en.wikipedia.org/wiki/Open_Sound_System HTH - -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkgtq38ACgkQHy+EEHYuXnTFmgCfWnW28U8UU+iCx1FiIfVFjlnf urEAoOjv92tIK4IgNMbQvMcHFYx5tJuK =FJUm -----END PGP SIGNATURE----- _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Next Event: http://freed.in - February 22-24, 2008 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/