mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added snd_pcm_reset to API
This commit is contained in:
parent
206f489fe1
commit
8c080ce9dd
11 changed files with 91 additions and 0 deletions
|
|
@ -412,6 +412,11 @@ int pcm_shm_cmd(client_t *client)
|
|||
ctrl->appl_ptr = *pcm->appl_ptr;
|
||||
ctrl->hw_ptr = *pcm->hw_ptr;
|
||||
break;
|
||||
case SND_PCM_IOCTL_RESET:
|
||||
ctrl->result = snd_pcm_reset(pcm);
|
||||
ctrl->appl_ptr = *pcm->appl_ptr;
|
||||
ctrl->hw_ptr = *pcm->hw_ptr;
|
||||
break;
|
||||
case SND_PCM_IOCTL_START:
|
||||
ctrl->result = snd_pcm_start(pcm);
|
||||
ctrl->appl_ptr = *pcm->appl_ptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue