]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Moved SND_PCM_INFO defines from asoundlib.h to pcm_local.h.
authorJaroslav Kysela <perex@perex.cz>
Mon, 30 Jul 2001 12:13:49 +0000 (12:13 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 30 Jul 2001 12:13:49 +0000 (12:13 +0000)
include/pcm.h
src/pcm/pcm_local.h

index a186492b83d1b59fd649257ef35d88e8945f3069..6df82ae42291d80505447b001387d157f815ab17 100644 (file)
@@ -209,33 +209,6 @@ typedef sndrv_pcm_sframes_t snd_pcm_sframes_t;
 /** Timestamp */
 typedef struct timeval snd_timestamp_t;
 
-/** device accepts mmaped access */
-#define SND_PCM_INFO_MMAP SNDRV_PCM_INFO_MMAP
-/** device accepts  mmaped access with sample resolution */
-#define SND_PCM_INFO_MMAP_VALID SNDRV_PCM_INFO_MMAP_VALID
-/** device is doing double buffering */
-#define SND_PCM_INFO_DOUBLE SNDRV_PCM_INFO_DOUBLE
-/** device transfers samples in batch */
-#define SND_PCM_INFO_BATCH SNDRV_PCM_INFO_BATCH
-/** device accepts interleaved samples */
-#define SND_PCM_INFO_INTERLEAVED SNDRV_PCM_INFO_INTERLEAVED
-/** device accepts non-interleaved samples */
-#define SND_PCM_INFO_NONINTERLEAVED SNDRV_PCM_INFO_NONINTERLEAVED
-/** device accepts complex sample organization */
-#define SND_PCM_INFO_COMPLEX SNDRV_PCM_INFO_COMPLEX
-/** device is capable block transfers */
-#define SND_PCM_INFO_BLOCK_TRANSFER SNDRV_PCM_INFO_BLOCK_TRANSFER
-/** device can detect DAC/ADC overrange */
-#define SND_PCM_INFO_OVERRANGE SNDRV_PCM_INFO_OVERRANGE
-/** device is capable to pause */
-#define SND_PCM_INFO_PAUSE SNDRV_PCM_INFO_PAUSE
-/** device can do only half duplex */
-#define SND_PCM_INFO_HALF_DUPLEX SNDRV_PCM_INFO_HALF_DUPLEX
-/** device can do only joint duplex (same parameters) */
-#define SND_PCM_INFO_JOINT_DUPLEX SNDRV_PCM_INFO_JOINT_DUPLEX
-/** device can do a kind of synchronized start */
-#define SND_PCM_INFO_SYNC_START SNDRV_PCM_INFO_SYNC_START
-
 /** Non blocking mode \hideinitializer */
 #define SND_PCM_NONBLOCK               0x0001
 /** Async notification \hideinitializer */
index 6332d4916017c1a3c76b9da966fdb92c70ba7468..27d6afae764f4405b063d6b8a0f1e0664d2e04af 100644 (file)
@@ -65,6 +65,33 @@ typedef enum sndrv_pcm_hw_param snd_pcm_hw_param_t;
 #define SND_PCM_HW_PARAM_LAST_INTERVAL SNDRV_PCM_HW_PARAM_LAST_INTERVAL
 #define SND_PCM_HW_PARAM_FIRST_INTERVAL SNDRV_PCM_HW_PARAM_FIRST_INTERVAL
 
+/** device accepts mmaped access */
+#define SND_PCM_INFO_MMAP SNDRV_PCM_INFO_MMAP
+/** device accepts  mmaped access with sample resolution */
+#define SND_PCM_INFO_MMAP_VALID SNDRV_PCM_INFO_MMAP_VALID
+/** device is doing double buffering */
+#define SND_PCM_INFO_DOUBLE SNDRV_PCM_INFO_DOUBLE
+/** device transfers samples in batch */
+#define SND_PCM_INFO_BATCH SNDRV_PCM_INFO_BATCH
+/** device accepts interleaved samples */
+#define SND_PCM_INFO_INTERLEAVED SNDRV_PCM_INFO_INTERLEAVED
+/** device accepts non-interleaved samples */
+#define SND_PCM_INFO_NONINTERLEAVED SNDRV_PCM_INFO_NONINTERLEAVED
+/** device accepts complex sample organization */
+#define SND_PCM_INFO_COMPLEX SNDRV_PCM_INFO_COMPLEX
+/** device is capable block transfers */
+#define SND_PCM_INFO_BLOCK_TRANSFER SNDRV_PCM_INFO_BLOCK_TRANSFER
+/** device can detect DAC/ADC overrange */
+#define SND_PCM_INFO_OVERRANGE SNDRV_PCM_INFO_OVERRANGE
+/** device is capable to pause */
+#define SND_PCM_INFO_PAUSE SNDRV_PCM_INFO_PAUSE
+/** device can do only half duplex */
+#define SND_PCM_INFO_HALF_DUPLEX SNDRV_PCM_INFO_HALF_DUPLEX
+/** device can do only joint duplex (same parameters) */
+#define SND_PCM_INFO_JOINT_DUPLEX SNDRV_PCM_INFO_JOINT_DUPLEX
+/** device can do a kind of synchronized start */
+#define SND_PCM_INFO_SYNC_START SNDRV_PCM_INFO_SYNC_START
+
 typedef struct _snd_pcm_channel_info {
        unsigned int channel;
        void *addr;                     /* base address of channel samples */