diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2018-11-28 16:33:24 -0500 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2018-11-28 16:33:24 -0500 |
commit | 1f741564893017c47d761dd38a331cba9aacf987 (patch) | |
tree | cc759d7ed61b2ff1c58e07c21e18e606126354b8 /src | |
parent | 4c5a11d872b3cc09d267ddf39bf9d2b8c1a3e98d (diff) |
Added ifndef around macros
Diffstat (limited to 'src')
-rw-r--r-- | src/pcm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -60,8 +60,13 @@ #include <tinyalsa/pcm.h> #include <tinyalsa/limits.h> +#ifndef PARAM_MAX #define PARAM_MAX SNDRV_PCM_HW_PARAM_LAST_INTERVAL +#endif /* PARAM_MAX */ + +#ifndef SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP #define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1<<2) +#endif /* SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP */ static inline int param_is_mask(int p) { |