pcm/Export: rename CalcSourceSize() to CalcInputSize()

This commit is contained in:
Max Kellermann
2019-06-26 15:46:05 +02:00
parent f43cafbf7d
commit e69fd0300a
5 changed files with 5 additions and 5 deletions

View File

@@ -884,7 +884,7 @@ AlsaOutput::Play(const void *chunk, size_t size)
size_t bytes_written = ring_buffer->push((const uint8_t *)e.data,
e.size);
if (bytes_written > 0)
return pcm_export->CalcSourceSize(bytes_written);
return pcm_export->CalcInputSize(bytes_written);
/* now that the ring_buffer is full, we can activate
the socket handlers to trigger the first