diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-04-29 01:58:18 +0200 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-08 22:31:49 +0100 |
commit | 4f2a3cb6019d551ca98aa2034854985df2670a30 (patch) | |
tree | e514320d1acb84cd1861bb11e64160ec7adff39e /src/modules/alsa/alsa-util.h | |
parent | ca9cd1465905df283c56ac8e25b630aeba65273f (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 c8acc7c9..c3a81170 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; |