diff options
-rw-r--r-- | src/output/plugins/JackOutputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/JackOutputPlugin.cxx b/src/output/plugins/JackOutputPlugin.cxx index 6b82b8bf7..5b7a2fe2e 100644 --- a/src/output/plugins/JackOutputPlugin.cxx +++ b/src/output/plugins/JackOutputPlugin.cxx @@ -602,7 +602,7 @@ JackOutput::WriteSamples(const float *src, size_t n_frames) const unsigned n_channels = audio_format.channels; float *dest[MAX_CHANNELS]; - size_t space = -1; + size_t space = SIZE_MAX; for (unsigned i = 0; i < n_channels; ++i) { jack_ringbuffer_data_t d[2]; jack_ringbuffer_get_write_vector(ringbuffer[i], d); |