mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-17 08:56:45 -05:00
Fixed assertion
This commit is contained in:
parent
1f53008356
commit
b837f24e04
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ int snd_pcm_start(snd_pcm_t *pcm)
|
||||||
assert(pcm);
|
assert(pcm);
|
||||||
assert(pcm->valid_setup);
|
assert(pcm->valid_setup);
|
||||||
assert(pcm->stream != SND_PCM_STREAM_PLAYBACK ||
|
assert(pcm->stream != SND_PCM_STREAM_PLAYBACK ||
|
||||||
snd_pcm_mmap_avail(pcm) > 0);
|
snd_pcm_mmap_avail(pcm) < pcm->setup.buffer_size);
|
||||||
return pcm->fast_ops->start(pcm->fast_op_arg);
|
return pcm->fast_ops->start(pcm->fast_op_arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue