diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-29 01:58:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-04-29 01:58:18 +0200 |
commit | d8710711fb0c74b4ad83ac99c2501218155b502b (patch) | |
tree | 16e6ad80057d7bb6a26a7d8d62b51a6c31a74667 /src/modules/alsa/alsa-util.h | |
parent | ad5a1f312aaa5511863ad4c9341f735b9ac4b6a3 (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')
-rw-r--r-- | src/modules/alsa/alsa-util.h | 1 |
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; |