mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added snd_pcm_hw_params_current() function and clear() functions for structures
This commit is contained in:
parent
453dd9f698
commit
dac0626b9f
6 changed files with 56 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue