From 32720cdc17929d363b87301cb5ed8316c86c02f2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 22 Oct 2014 17:12:08 +0200 Subject: audio/out: add redirection-on-init mechanism Looks like this will help us with making --audio-device and spdif work as expected on OSX. To be used ina following commit. --- audio/out/internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'audio/out/internal.h') diff --git a/audio/out/internal.h b/audio/out/internal.h index 18120fb1d3..cebc265f04 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -49,6 +49,9 @@ struct ao { // default device should be used, this is set to NULL. char *device; + // Used during init: if init fails, redirect to this ao + char *redirect; + int buffer; double def_buffer; void *api_priv; -- cgit v1.2.3