From LedHed's Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Information on enabeling S/PDIF output for MythTV
+
''Information on enabeling S/PDIF output for MythTV''
  
 
'''References'''
 
'''References'''
 
http://www.mythtv.org/wiki/index.php/DigitalSoundHowTo
 
http://www.mythtv.org/wiki/index.php/DigitalSoundHowTo
  
[[Category:SPDIF]]
+
 
 +
== ASOUNDRC ==
 +
''Note: this is for a nForce2 soundcard''
 +
 
 +
Create a file in your home directory (~/.asoundrc)
 +
 
 +
pcm.nforce-hw {
 +
    type hw
 +
    card 0
 +
}
 +
 +
pcm.!default {
 +
#  type plug
 +
#  slave.pcm "nforce"
 +
    type hw
 +
    card 0
 +
    device 2
 +
}
 +
 +
pcm.nforce {
 +
    type dmix
 +
    ipc_key 1234
 +
    slave {
 +
      pcm "hw:0,2"
 +
      period_time 0
 +
      period_size 1024
 +
      buffer_size 32768
 +
      rate 48000
 +
    }
 +
}
 +
 +
ctl.nforce-hw {
 +
    type hw
 +
    card 0
 +
}
 +
 +
 
 +
== MythTV Settings ==
 +
 
 +
'''General'''<br>
 +
Audio Output Device: ALSA:default<br>
 +
''Note: This option is not available from the pulldown, it must be typed in''<br>
 +
<br>
 +
[ ] Enable AC3 to SPDIF passthrough<br>
 +
''Note: Only check this if your tunner is encoding in AC3''<br>
 +
<br>
 +
Mixer Device: ALSA:default<br>
 +
''Note: This option is not available from the pulldown, it must be typed in''<br>
 +
 
 +
 
 +
== Xine Settings ==
 +
If using Xine as your MythVideo and/or MythDVD video player you need to set the "Audio Arangement" to Pass Through under Audio Settings.
 +
 
 +
 
 +
== Other Notes ==
 +
Try to start with a clean modprobe.conf file. Remove any lines related to the soundcard.
 +
Reboot
 +
Then as 'root' run:
 +
/sbin/alsaconf
 +
Let it add the necessary lines to /etc/modprobe.conf
 +
 
 +
alsaconf is part of the ''alsa-utils'' package
 +
 
 +
 
 +
 
 +
 
 +
 
 +
[[Category:MythTV]]

Latest revision as of 08:35, 15 November 2006

Information on enabeling S/PDIF output for MythTV

References http://www.mythtv.org/wiki/index.php/DigitalSoundHowTo


ASOUNDRC

Note: this is for a nForce2 soundcard

Create a file in your home directory (~/.asoundrc)

pcm.nforce-hw {
   type hw
   card 0
}

pcm.!default {
#   type plug
#   slave.pcm "nforce"
   type hw
   card 0
   device 2
}

pcm.nforce {
   type dmix
   ipc_key 1234
   slave {
     pcm "hw:0,2"
     period_time 0
     period_size 1024
     buffer_size 32768
     rate 48000
   }
}

ctl.nforce-hw {
   type hw
   card 0
}

MythTV Settings

General
Audio Output Device: ALSA:default
Note: This option is not available from the pulldown, it must be typed in

[ ] Enable AC3 to SPDIF passthrough
Note: Only check this if your tunner is encoding in AC3

Mixer Device: ALSA:default
Note: This option is not available from the pulldown, it must be typed in


Xine Settings

If using Xine as your MythVideo and/or MythDVD video player you need to set the "Audio Arangement" to Pass Through under Audio Settings.


Other Notes

Try to start with a clean modprobe.conf file. Remove any lines related to the soundcard. Reboot Then as 'root' run:

/sbin/alsaconf

Let it add the necessary lines to /etc/modprobe.conf

alsaconf is part of the alsa-utils package