Added snd_pcm_hw_params_current() function and clear() functions for structures

This commit is contained in:
Jaroslav Kysela 2002-10-12 10:38:43 +00:00
parent 453dd9f698
commit dac0626b9f
6 changed files with 56 additions and 2 deletions

View file

@ -39,6 +39,7 @@ typedef enum _snd_transport_type {
SND_TRANSPORT_TYPE_TCP,
} snd_transport_type_t;
#define SND_PCM_IOCTL_AVAIL _IOR('A', 0x22, sndrv_pcm_uframes_t)
#define SND_PCM_IOCTL_STATE _IO ('A', 0xf1)
#define SND_PCM_IOCTL_MMAP _IO ('A', 0xf2)
#define SND_PCM_IOCTL_MUNMAP _IO ('A', 0xf3)
@ -72,6 +73,9 @@ typedef struct {
snd_pcm_hw_params_t hw_params;
snd_pcm_sw_params_t sw_params;
snd_pcm_status_t status;
struct {
snd_pcm_uframes_t frames;
} avail;
struct {
snd_pcm_sframes_t frames;
} delay;