output/alsa: add "full" assertion to WriteFromPeriodBuffer()
This commit is contained in:
parent
549faa8a9c
commit
c1eb0583c4
@ -312,6 +312,7 @@ private:
|
||||
|
||||
snd_pcm_sframes_t WriteFromPeriodBuffer() noexcept {
|
||||
assert(!period_buffer.IsEmpty());
|
||||
assert(period_buffer.IsFull());
|
||||
|
||||
auto frames_written = snd_pcm_writei(pcm, period_buffer.GetHead(),
|
||||
period_buffer.GetFrames(out_frame_size));
|
||||
|
Loading…
Reference in New Issue
Block a user