GNOME Bugzilla – Bug 342950
Implement device profiles in autoaudiosink/autoaudiosrc
Last modified: 2006-12-17 18:37:04 UTC
Applications should be able to pass a parameter to these bins that represents either a "device profile" or a specific piece of hardware. Profiles are aliases of audio hardware configurations. For example, in GNOME Sound Preferences, I can configure my "Default" profile to use a specific sound device. I can also add profiles, for example, "Music/Film" which uses a different sound device. In GStreamer applications I can then choose from either "Default", "Music/Film", "SB Live 5.1" or "M Audio Audiophile 24/96" in the application preferences interface. If I select "Music/Film" for Rhythmbox, Totem and Banshee, I can quickly change my device for all three applications through GNOME Sound Preferences. If I select "Voice Chat" for Ekiga (perhaps it should be pre-set for minimal configuration), which wants to use my USB headset device which isn't plugged in, GStreamer should prompt me to either plug it in, or use the Default device temporarily instead. Thanks for reading this, I look forward to being able to use several sound cards with GStreamer apps!
Changing the default device seems to write ~/.asoundrc. This seems a pretty hacky solution to me, as I need to restart my applications for the changes to take effect. Switching default device every time I want to listen to music out of my hi-fi is becoming tedious! Please, anyone reading this, leave a comment about the idea!
Almost fixed. Not worth leaving this bug open.