Find the answer to your Linux question:
Results 1 to 5 of 5
OK, some background: * I have a USB headset, no sound card * Previously when I was using OpenSUSE 11.0 Beta, I got sound for the operating system (opening windows ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    37

    Delayed sound in flash

    OK, some background:

    * I have a USB headset, no sound card
    * Previously when I was using OpenSUSE 11.0 Beta, I got sound for the operating system (opening windows for example) but no sound in Flash
    * I installed OpenSUSE 11.0 and got no sound at all
    * I updated Alsa (and Flash with sound support) using:
    - Flash Player:Additional Interface Support for Linux - Adobe Labs
    - Alsa-update - openSUSE

    After doing that, the flash video would play and for 3 seconds have no sound, then all of a sudden the sound would play but 3-seconds behind the video. If I pause the video, the audio keeps playing. So it's always delayed.

    Any ideas how to fix this?

  2. #2
    Just Joined!
    Join Date
    May 2008
    Posts
    37
    I fixed it!

    Here's what I did:

    1. Created the file "/home/yourusername/.asoundrc" with the data:
    Code:
    usb.default
    # usb.default begins ###
    pcm.!default {
    type hw
    card 1
    }
    ctl.!default {
    type hw
    card 1
    }
    # usb.default ends ###
    2. Restarted Alsa with command: "rcalsasound restart"
    NOTE: You must login in as super user (via "su" command) in your konsole to execute this command

    3. Removed my USB headset and plugged it back in

    NOTE: This made it so there was NO sound.

    4. Deleted the file "/home/yourusername/.asoundrc"

    5. Restarted Alsa again

    6. Removed my USB headset and plugged it back in

    And then it worked!

    NOTE: This is after doing all of the previous steps in my original post. So anyone having the same issue of no sound or delayed sound needs to follow those steps first and then do this.

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    37
    Argh! now the problem is back! I restarted the computer and now when I watch a youtube video, the delay is there again!

    OK, here's where I am:

    * If I do my above steps (recreating the ".asoundrc" file, taking out the headset, restarting alsa, deleteing the file, restarting alsa, and taking out headset again, it works!

    - So this means I have to do this EVERY TIME to get the audio to synch up with the video!

    Given that this fixes it every time, but that the problem comes back after restarting the computer, what do you think could be the issue?

  4. #4
    Just Joined!
    Join Date
    May 2008
    Posts
    37
    Since this issue seems to be "work-aroundable" by re-running those steps each time, should I put it in a startup script? Is there any danger of corruption by doing that each startup?

  5. #5
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    That what I would do. It's kind of odd not having a sound card.

Posting Permissions

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