mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Removed snd_pcm_hwptr().
Added snd_pcm_hwdiff() and snd_pcm_forward(). Returned the behaviour for snd_pcm_mmap_begin().
This commit is contained in:
parent
fbd99fdec0
commit
2dab1dfbc3
17 changed files with 327 additions and 246 deletions
|
|
@ -471,9 +471,6 @@ static int pcm_shm_cmd(client_t *client)
|
|||
case SND_PCM_IOCTL_HWSYNC:
|
||||
ctrl->result = snd_pcm_hwsync(pcm);
|
||||
break;
|
||||
case SND_PCM_IOCTL_HWPTR:
|
||||
ctrl->result = snd_pcm_hwptr(pcm, (snd_pcm_uframes_t *) &ctrl->u.hwptr.frames);
|
||||
break;
|
||||
case SNDRV_PCM_IOCTL_DELAY:
|
||||
ctrl->result = snd_pcm_delay(pcm, (snd_pcm_sframes_t *) &ctrl->u.delay.frames);
|
||||
break;
|
||||
|
|
@ -507,6 +504,9 @@ static int pcm_shm_cmd(client_t *client)
|
|||
case SNDRV_PCM_IOCTL_REWIND:
|
||||
ctrl->result = snd_pcm_rewind(pcm, ctrl->u.rewind.frames);
|
||||
break;
|
||||
case SND_PCM_IOCTL_FORWARD:
|
||||
ctrl->result = snd_pcm_forward(pcm, ctrl->u.forward.frames);
|
||||
break;
|
||||
case SNDRV_PCM_IOCTL_LINK:
|
||||
{
|
||||
/* FIXME */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue