mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Removed old assert from read/write_areas
This commit is contained in:
parent
63fc0363c4
commit
ecd21fa26c
1 changed files with 2 additions and 2 deletions
|
|
@ -5293,7 +5293,7 @@ snd_pcm_sframes_t snd_pcm_read_areas(snd_pcm_t *pcm, const snd_pcm_channel_area_
|
||||||
err = func(pcm, areas, offset, frames);
|
err = func(pcm, areas, offset, frames);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
break;
|
break;
|
||||||
assert((snd_pcm_uframes_t)err == frames);
|
frames = err;
|
||||||
offset += frames;
|
offset += frames;
|
||||||
size -= frames;
|
size -= frames;
|
||||||
xfer += frames;
|
xfer += frames;
|
||||||
|
|
@ -5377,7 +5377,7 @@ snd_pcm_sframes_t snd_pcm_write_areas(snd_pcm_t *pcm, const snd_pcm_channel_area
|
||||||
err = func(pcm, areas, offset, frames);
|
err = func(pcm, areas, offset, frames);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
break;
|
break;
|
||||||
assert((snd_pcm_uframes_t)err == frames);
|
frames = err;
|
||||||
offset += frames;
|
offset += frames;
|
||||||
size -= frames;
|
size -= frames;
|
||||||
xfer += frames;
|
xfer += frames;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue