aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/jack_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/jack_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c
index 4b71dc8c4..0a0b8377f 100644
--- a/src/output/jack_plugin.c
+++ b/src/output/jack_plugin.c
@@ -423,7 +423,7 @@ mpd_jack_play(void *data, const void *chunk, size_t size, GError **error)
/* send data symmetrically */
space = space1;
- if (space >= frame_size)
+ if (space >= jack_sample_size)
break;
/* XXX do something more intelligent to