path: root/src/modules/alsa/alsa-util.h
diff options
authorLennart Poettering <>2009-04-29 01:58:18 +0200
committerLennart Poettering <>2009-04-29 01:58:18 +0200
commitd8710711fb0c74b4ad83ac99c2501218155b502b (patch)
tree16e6ad80057d7bb6a26a7d8d62b51a6c31a74667 /src/modules/alsa/alsa-util.h
parentad5a1f312aaa5511863ad4c9341f735b9ac4b6a3 (diff)
alsa: allow configuration of fallback device strings in profiles
This has the benefit that we can properly support ALSA devices where only the raw 'hw' device exists but no 'front' although it's a proper 2ch stereo device.
Diffstat (limited to 'src/modules/alsa/alsa-util.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/alsa/alsa-util.h b/src/modules/alsa/alsa-util.h
index 77ac8a7f..4c5d336d 100644
--- a/src/modules/alsa/alsa-util.h
+++ b/src/modules/alsa/alsa-util.h
@@ -56,6 +56,7 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min);
typedef struct pa_alsa_profile_info {
pa_channel_map map;
const char *alsa_name;
+ const char *alsa_name_fallback;
const char *description; /* internationalized */
const char *name;
unsigned priority;