summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out/ao_oss.c')
-rw-r--r--audio/out/ao_oss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c
index 367df4d87f..e77c2bc4e6 100644
--- a/audio/out/ao_oss.c
+++ b/audio/out/ao_oss.c
@@ -500,7 +500,7 @@ static void reset(struct ao *ao)
}
}
-// return: how many bytes can be played without blocking
+// return: how many samples can be played without blocking
static int get_space(struct ao *ao)
{
struct priv *p = ao->priv;
@@ -525,9 +525,9 @@ static void audio_pause(struct ao *ao)
#endif
}
-// plays 'len' bytes of 'data'
+// plays 'len' samples of 'data'
// it should round it down to outburst*n
-// return: number of bytes played
+// return: number of samples played
static int play(struct ao *ao, void **data, int samples, int flags)
{
struct priv *p = ao->priv;