aboutsummaryrefslogtreecommitdiff
path: root/include/pcm.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-01-11 17:21:44 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-11 17:21:44 +0100
commitab8331c8823157acfe3b24b837bd5f625acb9666 (patch)
treedca4dcbdd94f4c60e7c8e7a9577e3a7175059ddf /include/pcm.h
parent6814d23d290296b10032c258cd36e3e54028c78d (diff)
Added possibility to disable also channel and format conversions + softvol.
Unified disable option using mode bits in snd_pcm_open().
Diffstat (limited to 'include/pcm.h')
-rw-r--r--include/pcm.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/pcm.h b/include/pcm.h
index d217bb91..66082ce9 100644
--- a/include/pcm.h
+++ b/include/pcm.h
@@ -292,9 +292,17 @@ typedef unsigned long snd_pcm_uframes_t;
typedef long snd_pcm_sframes_t;
/** Non blocking mode (flag for open mode) \hideinitializer */
-#define SND_PCM_NONBLOCK 0x0001
+#define SND_PCM_NONBLOCK 0x00000001
/** Async notification (flag for open mode) \hideinitializer */
-#define SND_PCM_ASYNC 0x0002
+#define SND_PCM_ASYNC 0x00000002
+/** Disable automatic (but not forced!) rate resamplinig */
+#define SND_PCM_NO_AUTO_RESAMPLE 0x00010000
+/** Disable automatic (but not forced!) channel conversion */
+#define SND_PCM_NO_AUTO_CHANNELS 0x00020000
+/** Disable automatic (but not forced!) format conversion */
+#define SND_PCM_NO_AUTO_FORMAT 0x00040000
+/** Disable soft volume control */
+#define SND_PCM_NO_SOFTVOL 0x00080000
/** PCM handle */
typedef struct _snd_pcm snd_pcm_t;