summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_frontend.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index b0888167..a8a2a0bd 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.6 2006-08-07 19:40:46 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.7 2006-08-16 17:49:22 phintuka Exp $
*
*/
@@ -386,7 +386,8 @@ static void configure_audio_out(fe_t *this, const char *audio_driver, const char
this->xine->config->update_string(this->xine->config,
"audio.device.alsa_surround51_device",
audio_port);
- if(strstr(audio_port, "iec")) {
+ if(strstr(audio_port, "iec") ||
+ strstr(audio_port, "spdif")) {
this->xine->config->update_string(this->xine->config,
"audio.device.alsa_passthrough_device",
audio_port);