Simplify bytebuf naming

Rename read_available to can_read and write_available to can_write.
This is more readable.
This commit is contained in:
Romain Vimont
2023-03-11 10:16:43 +01:00
parent 14f9d82fda
commit e06acc1ba2
6 changed files with 47 additions and 47 deletions

View File

@@ -33,7 +33,7 @@ struct sc_audio_player {
// The previous empty space in the buffer (only used by the receiver
// thread)
uint32_t previous_write_avail;
uint32_t previous_can_write;
// Resampler (only used from the receiver thread)
struct SwrContext *swr_ctx;