summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-26 15:46:23 +0200
committerwm4 <wm4@nowhere>2014-09-26 15:46:23 +0200
commit1b1421866daba4864fc630ba84a5738baff89f6e (patch)
tree4ca097070ca709453a2525d6567b04cd9499fe66 /audio/out
parent17d031f88c1191e060d8cf23877eefdd47e4bbf3 (diff)
downloadmpv-1b1421866daba4864fc630ba84a5738baff89f6e.tar.bz2
mpv-1b1421866daba4864fc630ba84a5738baff89f6e.tar.xz
ao_sndio: fix some incorrect comments
The AO API always uses sample counts.
Diffstat (limited to 'audio/out')
-rw-r--r--audio/out/ao_sndio.c4
1 files changed, 2 insertions, 2 deletions
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)
{