alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* idea: a reserve alsa plugin
@ 2013-05-02 10:55 David Henningsson
  2013-05-02 12:37 ` [pulseaudio-discuss] " Arun Raghavan
  2013-05-02 14:28 ` idea: a reserve alsa plugin Tvrtko Ursulin
  0 siblings, 2 replies; 13+ messages in thread
From: David Henningsson @ 2013-05-02 10:55 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org, General PulseAudio Discussion

Just had an idea which I'll write down here before I forget it 
again...and I'm not saying I'll implement this anytime soon either, but 
here goes:

There is a device reserve protocol between PulseAudio and JACK2 - when 
JACK needs the sound card, it'll send a dbus message to PulseAudio and 
grab a name in D-Bus.

However, there are plenty of applications who like to access ALSA 
directly, without going through JACK2 or PulseAudio. By making a 
"reserve" plugin, we could have this functionality for those apps too.

In practice, if the app usually opens "plughw:0" or "hw:0", it could 
instead open "reserve:plughw:0" or "reserve:hw:0" to also reserve the 
device from PulseAudio usage while the device is open. Meanwhile, 
PulseAudio is free to use other audio devices (which is not the case 
when using e g pasuspender).

How does that sound?

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-07-17 14:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 10:55 idea: a reserve alsa plugin David Henningsson
2013-05-02 12:37 ` [pulseaudio-discuss] " Arun Raghavan
2013-05-02 13:23   ` David Henningsson
2013-05-02 14:13   ` "Negative" volume settings in a kcontrol Mike Looijmans
2013-05-06 13:22     ` Clemens Ladisch
2013-05-28 11:46       ` Mike Looijmans
2013-05-29 19:42         ` Mark Brown
2013-05-31  7:01           ` Mike Looijmans
2013-07-16 13:45             ` Need help diagnosing "hw_ptr skipping" message Mike Looijmans
2013-07-17 14:02               ` Clemens Ladisch
2013-05-02 14:28 ` idea: a reserve alsa plugin Tvrtko Ursulin
2013-05-02 14:37   ` [pulseaudio-discuss] " David Henningsson
2013-05-02 14:50     ` Tvrtko Ursulin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).