diff options
Diffstat (limited to 'plugins/alsa/alsa-softmixer.h')
-rw-r--r-- | plugins/alsa/alsa-softmixer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/alsa/alsa-softmixer.h b/plugins/alsa/alsa-softmixer.h index 2fb9370..f33ea62 100644 --- a/plugins/alsa/alsa-softmixer.h +++ b/plugins/alsa/alsa-softmixer.h @@ -128,6 +128,7 @@ typedef struct { bool closeAtDeletion; // intermediate pcms in the pcm chain must not be closed, else it make libasound abort() bool isPcmPlug; + unsigned int quirks; } AlsaPcmCtlT; typedef struct { @@ -224,8 +225,12 @@ typedef struct { struct cds_list_head list; snd_config_t * routeConfig; bool isPcmPlug; + unsigned int quirks; } AlsaSndZoneT; +/* This is a list of known sound card (hardware or driver) specific bugs */ +/* - do not trust the result of snd_pcm_poll_descriptors_revents */ +#define QUIRK_BOGUS_POLL_REVENTS_DEMANGLING (1<<0) typedef struct { const char *uid; const char *verb; @@ -238,6 +243,7 @@ typedef struct { struct cds_list_head list; bool isPcmPlug; void * apiVerbHandle; + unsigned int quirks; } AlsaSndPcmT; typedef struct { |