mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Fixed typo
This commit is contained in:
parent
da9be8d3a8
commit
dbd884fbf4
1 changed files with 2 additions and 2 deletions
|
|
@ -617,7 +617,7 @@ static ssize_t snd_pcm_plug_stream_seek(snd_pcm_t *pcm, int stream, off_t offset
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
snd_pcm_plug_t *plug = (snd_pcm_plug_t*) &pcm->private;
|
snd_pcm_plug_t *plug = (snd_pcm_plug_t*) &pcm->private;
|
||||||
if (snd_pcm_plug_direct(pcm, stream))
|
if (snd_pcm_plug_direct(pcm, stream))
|
||||||
return snd_pcm_seek(plug->slave, stream, offset);
|
return snd_pcm_stream_seek(plug->slave, stream, offset);
|
||||||
if (offset < 0) {
|
if (offset < 0) {
|
||||||
offset = snd_pcm_plug_slave_size(pcm, stream, -offset);
|
offset = snd_pcm_plug_slave_size(pcm, stream, -offset);
|
||||||
if (offset < 0)
|
if (offset < 0)
|
||||||
|
|
@ -628,7 +628,7 @@ static ssize_t snd_pcm_plug_stream_seek(snd_pcm_t *pcm, int stream, off_t offset
|
||||||
if (offset < 0)
|
if (offset < 0)
|
||||||
return offset;
|
return offset;
|
||||||
}
|
}
|
||||||
ret = snd_pcm_seek(plug->slave, stream, offset);
|
ret = snd_pcm_stream_seek(plug->slave, stream, offset);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
return snd_pcm_plug_client_size(pcm, stream, ret);
|
return snd_pcm_plug_client_size(pcm, stream, ret);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue