mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Clearer assertion
This commit is contained in:
parent
b837f24e04
commit
3cc2b957fb
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->valid_setup);
|
||||
assert(pcm->stream != SND_PCM_STREAM_PLAYBACK ||
|
||||
snd_pcm_mmap_avail(pcm) < pcm->setup.buffer_size);
|
||||
snd_pcm_mmap_playback_hw_avail(pcm) > 0);
|
||||
return pcm->fast_ops->start(pcm->fast_op_arg);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue