[mythtv-users] MythTV sound through SPDIF

Eric Smith erictsmith at gmail.com
Mon Jun 4 18:32:47 UTC 2007


Ludmil,
There should be a seperate setting for MythMusic which you can also set to
ALSA:iec958 I believe.

On 6/4/07, Ludmil Miltchev <ludmilmm at gmail.com> wrote:
>
> Eric Smith wrote:
>
> > On 6/4/07, *Ludmil Miltchev* <ludmilmm at gmail.com
> > <mailto:ludmilmm at gmail.com>> wrote:
> >
> >     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
> >     <
> 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
> >     <
> 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
> >
> >
> >
> >     _______________________________________________
> >     mythtv-users mailing list
> >     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
> >     http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
> > I found all the asound config to be unnecessary.  What ended up
> > working for me was, make sure ac3 and dts passthrough are both
> > enabled.  And then change both the audio and passthrough output
> > devices to be ALSA:iec958.  That's all I needed, hopefully it will
> > work for you as well.
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >mythtv-users mailing list
> >mythtv-users at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> Hi Eric!
> Thank you for your advice! It did work for playing TV and DVDs. I still
> can't play music through MythTV (and I used to play it with 2ch analog
> audio cable). Did you have any issues with playing music?
> Thanks!
> Ludmil
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070604/56e66d4e/attachment.htm 


More information about the mythtv-users mailing list