alsa: Support ALSA without a use case manager

The ALSA use case manager is a fairly recent addition,
so make sure the ALSA modules can be used on systems that
have an older version of ALSA.
This commit is contained in:
Pierre Ossman 2013-07-10 16:26:17 +02:00 committed by Tanu Kaskinen
parent d90d99bd38
commit e55f4edaad
3 changed files with 73 additions and 2 deletions

View file

@ -24,7 +24,11 @@
USA.
***/
#ifdef HAVE_ALSA_UCM
#include <use-case.h>
#else
typedef void snd_use_case_mgr_t;
#endif
#include "alsa-mixer.h"