Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: HDMI Audio and Flash

  1. #11
    Join Date
    Nov 2007
    Beans
    51

    Re: HDMI Audio and Flash

    After spending a day on this topic I found that this works inside of ~/.asoundrc

    Code:
    pcm.dmixer {
    type dmix
    ipc_key 1024
    ipc_key_add_uid false
    ipc_perm 0660
    slave {
    pcm "hw:0,3"
    rate 48000
    channels 2
    period_time 0
    period_size 1024
    buffer_time 0
    buffer_size 4096
    }
    }
    
    pcm.!default {
    type plug
    slave.pcm "dmixer"
    }
    I have two audio cards so pcm "hw:0,3" is not my HDMI so I had to change it to pcm "hw:1,3" and it works!

    Also, all I have to do is change pcm "hw:1,3" back to pcm "hw:0,0" and all audio goes out the 1/8 inch jack instead.

    this info was found @
    http://forum.boxee.tv/archive/index.php/t-8147.html
    Last edited by 4dplane; July 19th, 2009 at 08:01 PM.

  2. #12
    Join Date
    Dec 2005
    Beans
    17

    Re: HDMI Audio and Flash

    Quote Originally Posted by johan_tre View Post
    @manolo
    Hope this was helpful
    Thank you very much Johan. Your information is very helpful!

    Sorry I can not help you with the problems
    Only a few comments:

    OverScan: Are not the settings stored in /etc/X11/xorg.conf? In your first post you said you were using HDMI for both audio and video, but in the last one you mention using DVI for LCD monitors. Do you have the overscan problem with both connections?

    Gnome sound (Is this what you mean by 'ubuntu buttons'?): Usually it goes through esd (Enlightened Sound Daemon).

    Thank you again and good luck!
    Last edited by manolo; July 20th, 2009 at 03:18 PM.

  3. #13
    Join Date
    Jul 2009
    Beans
    16

    Re: HDMI Audio and Flash

    The Nvidia's overscan problem is only found on HDMI and S-video.
    Nvidia goes even further by ignoring the xorg.conf. So many options are not possible like
    "Mode" for instance.
    With this option it would be possible to find a workaround for the overscanning.

    The sound I meant was the sound of clicking buttons etc. I'll google my way with "esd", thanks for that.

  4. #14
    Join Date
    Aug 2009
    Beans
    4

    Re: HDMI Audio and Flash [SOLVED]

    Quote Originally Posted by Plaguester View Post
    I managed to find the fix a couple of days ago.

    Edit or create .asoundrc.

    Code:
    sudo gedit ~/.asoundrc
    Add the line

    Code:
    defaults.pcm.device 3
    Reboot.
    Hello,

    First at all, I'm sorry for my bad english.

    I have a problem with this solution, if I put this option on my .asoundrc, flash works fine, even gnome sounds effects (like push buttons ..), but xbmc doesn't work. If I don't put this option on my .asoundrc, xbmc works fine but others options don't work.

    How can I select what device I have to use for 'each application'?

    Maybe, it's easier to put the option that you explain before and later, fix xbmc. I have followed an "howto" http://www.xbmc.org/forum/showthread.php?t=53812 to install xbmc and I don't know how to setup this for another option.

    Thanks in advance,

    Carlos

  5. #15
    Join Date
    Aug 2009
    Beans
    4

    Re: HDMI Audio and Flash [SOLVED]

    Hello,

    Ten minutes later from my last post, I have fixed my own question. In sound options of xbmc, in output option I have changed 'hdmi' for 'default' and it works fine (I have had good luck)

    Thanks

    Carlos.

  6. #16
    Join Date
    Apr 2009
    Beans
    12

    Wink Re: HDMI Audio and Flash

    Great Post Plaguester!

    I added the file you suggested and I now get sound via HDMI from my Nvidia 9300 to my Samsung 550 HD TV.

    Before that I added the alsamixergui and then checked off all the IEC958 tick boxes. - had sound at that point but not for everything - and no sound with flash - now it all seems to work ( tested on hulu)

    SJC

  7. #17
    Join Date
    Apr 2009
    Beans
    15

    Re: HDMI Audio and Flash

    Quote Originally Posted by 4dplane View Post
    After spending a day on this topic I found that this works inside of ~/.asoundrc

    Code:
    pcm.dmixer {
    type dmix
    ipc_key 1024
    ipc_key_add_uid false
    ipc_perm 0660
    slave {
    pcm "hw:0,3"
    rate 48000
    channels 2
    period_time 0
    period_size 1024
    buffer_time 0
    buffer_size 4096
    }
    }
    
    pcm.!default {
    type plug
    slave.pcm "dmixer"
    }
    I have two audio cards so pcm "hw:0,3" is not my HDMI so I had to change it to pcm "hw:1,3" and it works!

    Also, all I have to do is change pcm "hw:1,3" back to pcm "hw:0,0" and all audio goes out the 1/8 inch jack instead.

    this info was found @
    http://forum.boxee.tv/archive/index.php/t-8147.html

    This worked for me thanks a lot.

  8. #18
    Join Date
    Apr 2009
    Beans
    17

    Re: HDMI Audio and Flash

    i know this is an old thread but i have the same issue just with karmic. .asoundrc doesnt exist and i was wondering if there is a fix for 9.10?

  9. #19
    Join Date
    Jan 2008
    Beans
    18

    Re: HDMI Audio and Flash

    9.10 shouldn't need the hacky fix. Just go to System > Preferences > Sound, goto the hardware tab, and choose HDMI out for the hardware profile.

  10. #20
    Join Date
    Jan 2010
    Beans
    1

    Re: HDMI Audio and Flash

    This worked great to get Flash running over HDMI for me. My system has onboard analog audio with an add-in ATI video with HDMI out. Before this fix, I could switch sound back and forth through the System -> Preferences -> Sound menu but could not get Flash audio through the HDMI. The one downside to this fix is that it forces all audio over HDMI. I can't, even manually using the menu above, get the sound to switch back to the analog without renaming the .asoundrc file and rebooting. Is there any way to not 'hardset' the audio device in .asoundrc and have it look at the Sound menu settings. I'd like it best if the system could send sound over both devices but I'd settle for not having to reboot. Thanks and great work-around.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •