aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/sound.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-03-04 06:35:38 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-03-04 06:35:38 +0100
commit4201717f36f1236fd0de1597679f5e9411c8a7eb (patch)
tree27a6346bec0e919792af440dc92e6091d7147049 /src/common/sound.h
parent9d0e6b82b7cc289fb76e580946c8fefcb2b9cb18 (diff)
Rework on audio buffer management
Use function to get samples to be sent to fill audio buffers to a level. This replaces the function that only shows how much data is in the buffer. This way the function itself can control how much data will be sent.
Diffstat (limited to 'src/common/sound.h')
-rw-r--r--src/common/sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sound.h b/src/common/sound.h
index 339cea6..1054eb4 100644
--- a/src/common/sound.h
+++ b/src/common/sound.h
@@ -6,5 +6,5 @@ int sound_start(void *inst);
void sound_close(void *inst);
int sound_write(void *inst, sample_t **samples, int num, enum paging_signal *paging_signal, int *on, int channels);
int sound_read(void *inst, sample_t **samples, int num, int channels);
-int sound_get_inbuffer(void *inst);
+int sound_get_tosend(void *inst, int latspl);