mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added snd_pcm_hwptr() and enhanced snd_pcm_mmap_begin() for no xrun mode.
This commit is contained in:
parent
a91efc0fe6
commit
fbd99fdec0
17 changed files with 231 additions and 13 deletions
|
|
@ -50,6 +50,7 @@ typedef enum _snd_transport_type {
|
|||
#define SND_PCM_IOCTL_POLL_DESCRIPTOR _IO ('A', 0xf8)
|
||||
#define SND_PCM_IOCTL_HW_PTR_FD _IO ('A', 0xf9)
|
||||
#define SND_PCM_IOCTL_APPL_PTR_FD _IO ('A', 0xfa)
|
||||
#define SND_PCM_IOCTL_HWPTR _IO ('A', 0xfb)
|
||||
|
||||
typedef struct {
|
||||
snd_pcm_uframes_t ptr;
|
||||
|
|
@ -73,6 +74,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;
|
||||
} hwptr;
|
||||
struct {
|
||||
snd_pcm_uframes_t frames;
|
||||
} avail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue