From a0c0eedb1ea3d1bc3a058b45b5c7d2b7a36729ac Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 13 Oct 2012 20:05:22 +0200 Subject: Change Yamaha-MC1N2-Audio route when output route is changed Signed-off-by: Paul Kocialkowski --- audio_out.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'audio_out.c') diff --git a/audio_out.c b/audio_out.c index 47f4dfa..a0bad83 100644 --- a/audio_out.c +++ b/audio_out.c @@ -98,6 +98,11 @@ int audio_out_set_route(struct tinyalsa_audio_stream_out *stream_out, tinyalsa_mixer_set_route(stream_out->device->mixer, stream_out->device_current, stream_out->device->mode); +#ifdef YAMAHA_MC1N2_AUDIO + yamaha_mc1n2_audio_set_route(stream_out->device->mc1n2_pdata, device, + stream_out->device->mode); +#endif + return 0; } -- cgit v1.1