summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao.c1
-rw-r--r--audio/out/internal.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c
index 3bfa481bc5..cd2b9e8089 100644
--- a/audio/out/ao.c
+++ b/audio/out/ao.c
@@ -110,6 +110,7 @@ static bool get_desc(struct m_obj_desc *dst, int index)
.priv_defaults = ao->priv_defaults,
.options = ao->options,
.global_opts = ao->global_opts,
+ .legacy_prefix = ao->legacy_prefix,
.hidden = ao->encode,
.p = ao,
};
diff --git a/audio/out/internal.h b/audio/out/internal.h
index f9dc073b4d..3115fbfeb7 100644
--- a/audio/out/internal.h
+++ b/audio/out/internal.h
@@ -182,6 +182,7 @@ struct ao_driver {
const void *priv_defaults;
const struct m_option *options;
const struct m_sub_options *global_opts;
+ const char *legacy_prefix;
};
// These functions can be called by AOs.