From 1b1421866daba4864fc630ba84a5738baff89f6e Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 26 Sep 2014 15:46:23 +0200 Subject: ao_sndio: fix some incorrect comments The AO API always uses sample counts. --- audio/out/ao_sndio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio') diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c index 57661361bf..d1f70cb362 100644 --- a/audio/out/ao_sndio.c +++ b/audio/out/ao_sndio.c @@ -234,7 +234,7 @@ static void reset(struct ao *ao) } /* - * play given number of bytes until sio_write() blocks + * play given number of samples until sio_write() blocks */ static int play(struct ao *ao, void **data, int samples, int flags) { @@ -249,7 +249,7 @@ static int play(struct ao *ao, void **data, int samples, int flags) } /* - * how many bytes can be played without blocking + * how many samples can be played without blocking */ static int get_space(struct ao *ao) { -- cgit v1.2.3