diff options
author | Jaroslav Kysela <perex@perex.cz> | 2001-07-30 12:13:49 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2001-07-30 12:13:49 +0000 |
commit | f5709d953d874d5e45b936a10403b84f0378afcc (patch) | |
tree | 84717dca31fdd3c347e37678287e2e6f11a4ba64 | |
parent | 66293bc48a0a159d5acd26e8304c56b764ea3415 (diff) |
Moved SND_PCM_INFO defines from asoundlib.h to pcm_local.h.
-rw-r--r-- | include/pcm.h | 27 | ||||
-rw-r--r-- | src/pcm/pcm_local.h | 27 |
2 files changed, 27 insertions, 27 deletions
diff --git a/include/pcm.h b/include/pcm.h index a186492b..6df82ae4 100644 --- a/include/pcm.h +++ b/include/pcm.h @@ -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 */ diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h index 6332d491..27d6afae 100644 --- a/src/pcm/pcm_local.h +++ b/src/pcm/pcm_local.h @@ -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 */ |