output/alsa: add "full" assertion to WriteFromPeriodBuffer()
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user