[mythtv-users] MythTV sound through SPDIF

Ludmil Miltchev ludmilmm at gmail.com
Mon Jun 4 17:20:53 UTC 2007


Hi to everyone!

My MythTV used to work flawlessly with a stereo analog sound (2ch). I 
decided to switch to SPDIF and now when I try to watch TV, DVDs or 
listen to music (using the Internal player) I don't get any sound.
However, I can watch videos (using MPlayer) without any problem.

===================================================================================

I tried fixing the problem, using the following articles:

- Configuring Digital Sound with AC3 and SPDIF 
<http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF>

-  I get no sound from MythTV when watching TV but MythMusic and 
command-line test all work fine. What is the problem?

<http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound#I_get_no_sound_from_MythTV_when_watching_TV_but_MythMusic_and_command

-line_test_all_work_fine.__What_is_the_problem.3F>

-  But I want to have all my sound go to the S/PDIF connector, how do I 
do that?

<http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound#But_I_want_to_have_all_my_sound_go_to_the_S.2FPDIF_connector.2C_how_do_I

_do_that.3F>

=======================================================================================

When I run: #> aplay -L, I get:

{
cards 'cards.pcm'
front 'cards.pcm.front'
rear 'cards.pcm.rear'
center_lfe 'cards.pcm.center_lfe'
side 'cards.pcm.side'
surround40 'cards.pcm.surround40'
surround41 'cards.pcm.surround41'
surround50 'cards.pcm.surround50'
surround51 'cards.pcm.surround51'
surround71 'cards.pcm.surround71'
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'
modem 'cards.pcm.modem'
phoneline 'cards.pcm.phoneline'
dmix 'cards.pcm.dmix'
default    {
    type hw
    card 0
    device 2
}

My /home/mythtv/.asoundrc file:

pcm.!default {
type hw
card 0
device 2
}

My /etc/asound.conf file:

pcm.!default {
type plug
slave {
pcm "spdif"
rate 48000
format S16_LE
}
}

I added "options snd-pcm-oss dsp_map=2" at the end of my 
/etc/modprobe.conf file.

In my frontend (Utilities/Setup - Setup - General) I have:

Audio Output Device: /dev/adsp
Passthrough output Device: ALSA:default
Mixer Device: default
Mixer Controls: PCM

I also tried checkihg and unchecking the boxes next to:
Enable AC3 to SPDIF passthrough
Enable DTS to SPDIF passthrough

======================================================================================

So far, I haven't been able to get the sound to work with watching TV, 
DVD or listening to music in MythTV. I tried getting a help from a 
friend who knows a lot more than me about Linux and MythTV (I am a 
newby), but he was not able to help me, either.

I am running MythTV ver. 0.2 on Suse 10. My sound card is: ALi M5455 
with spdif-out (6ch).

I would really appreciate any help (hints, articles, ideas, etc.)

Please, let me know if you need any more info about my system/configuration.

Thank you!

Ludmil





More information about the mythtv-users mailing list