aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/jack.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-12-24 01:17:55 -0800
committerChris Robinson <[email protected]>2014-12-24 01:17:55 -0800
commitc71d8c0fc5367b61a71e1e9c7b42ade05a74d4e2 (patch)
treef22887121efe214f1d9eb779269314593898e3ed /Alc/backends/jack.c
parentad11a9072050784e0abf2bc1191ed3e0ae2d1d17 (diff)
Update a comment
Diffstat (limited to 'Alc/backends/jack.c')
-rw-r--r--Alc/backends/jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/jack.c b/Alc/backends/jack.c
index 639037bc..05de5528 100644
--- a/Alc/backends/jack.c
+++ b/Alc/backends/jack.c
@@ -374,8 +374,8 @@ static ALCboolean ALCjackPlayback_reset(ALCjackPlayback *self)
/* Ignore the requested buffer metrics and just keep one JACK-sized buffer
* ready for when requested. Note that even though the ringbuffer will have
* 2 periods worth of space, only half of it will be filled at a given time
- * because there's one byte less of it that's writeable, and we only write
- * in update-sized chunks. */
+ * because there's one element less of it that's writeable, and we only
+ * write in update-sized chunks. */
device->Frequency = jack_get_sample_rate(self->Client);
if(ConfigValueUInt("jack", "buffer-size", &bufsize))
device->UpdateSize = maxu(jack_get_buffer_size(self->Client), NextPowerOf2(bufsize));