mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
The Advanced Linux Sound Architecture (ALSA) - library
When executing ioctl(2) with some commands, applications can request ALSA PCM core to change appl_ptr in kernel space. Below is a list of such operations: - SNDRV_PCM_IOCTL_PREPARE - SNDRV_PCM_IOCTL_RESET - SNDRV_PCM_IOCTL_REWIND - SNDRV_PCM_IOCTL_FORWARD - SNDRV_PCM_IOCTL_WRITEI_FRAMES - SNDRV_PCM_IOCTL_WRITEN_FRAMES - SNDRV_PCM_IOCTL_READI_FRAMES - SNDRV_PCM_IOCTL_READN_FRAMES After these operations, the value of appl_ptr should be synchronized between kernel/user spaces. This commit adds a helper function to query status and control data without issuing the control data just in fallback from failure of control mapping. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
|---|---|---|
| alsalisp | ||
| aserver | ||
| doc | ||
| include | ||
| m4 | ||
| modules | ||
| src | ||
| test | ||
| utils | ||
| .gitignore | ||
| acinclude.m4 | ||
| ChangeLog | ||
| configure.ac | ||
| COPYING | ||
| gitcompile | ||
| INSTALL | ||
| Makefile.am | ||
| MEMORY-LEAK | ||
| NOTES | ||
| TODO | ||