diff options
| author | phintuka <phintuka> | 2011-12-14 08:12:16 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2011-12-14 08:12:16 +0000 |
| commit | d41954ac5237ef81c92c14d49996c03b9646a3da (patch) | |
| tree | 67b03006254f7fb23cb5becd45a804f5e12ece64 | |
| parent | 1be88a6ffe5c4066d92e954adb77db31ea26c2c6 (diff) | |
| download | xineliboutput-d41954ac5237ef81c92c14d49996c03b9646a3da.tar.gz xineliboutput-d41954ac5237ef81c92c14d49996c03b9646a3da.tar.bz2 | |
Do not set speakers to stereo when alsa iec/spdif output is not used
(Closes #3459040)
| -rw-r--r-- | xine_frontend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xine_frontend.c b/xine_frontend.c index 3b9eb33e..d6f4bdbb 100644 --- a/xine_frontend.c +++ b/xine_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend.c,v 1.121 2011-04-11 08:40:06 durchflieger Exp $ + * $Id: xine_frontend.c,v 1.122 2011-12-14 08:12:16 phintuka Exp $ * */ @@ -545,8 +545,10 @@ static void configure_audio_out(const fe_t *this, const char *audio_driver, cons x_upd_str("audio.device.alsa_passthrough_device", audio_port); x_upd_num("audio.output.speaker_arrangement", A52_PASSTHRU); } else { +#if 0 x_upd_num("audio.output.speaker_arrangement", strstr(audio_port, "surround") ? SURROUND51 : STEREO); +#endif } } |
