summaryrefslogtreecommitdiffstats
path: root/audio/out/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r--audio/out/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/out/internal.h b/audio/out/internal.h
index a6fcf7c5f6..9826630108 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -70,6 +70,9 @@ struct ao {
// Internal events (use ao_request_reload(), ao_hotplug_event())
atomic_int events_;
+ // Float gain multiplicator, reinterpret-casted to int.
+ atomic_uint_least32_t gain_fi;
+
int buffer;
double def_buffer;
void *api_priv;
@@ -212,6 +215,8 @@ bool ao_chmap_sel_get_def(struct ao *ao, const struct mp_chmap_sel *s,
void ao_device_list_add(struct ao_device_list *list, struct ao *ao,
struct ao_device_desc *e);
+void ao_post_process_data(struct ao *ao, void **data, int num_samples);
+
struct ao_convert_fmt {
int src_fmt; // source AF_FORMAT_*
int channels; // number of channels