[SOLVED] No audio in Chrome (even when playing local files)

I'm running Arch on a Vizio CT14-A4 laptop.  Audio works in other programs, but sometimes it doesn't work in Chrome.  In the past this problem has magically disappeared and reappeared, but today it persists after multiple reboots.  I updated my system, still no dice.
Initially I assumed it was a Flash issue, but now I believe it is a browser-level issue since there is no sound even for local .mp3 files (that play fine in mpd).
Could Chrome be accessing the wrong playback device?  I have one card with two subdevices:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4210 Analog [CS4210 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
The first entry is the one I want to use.  Since it's device 0 on card 0 and I don't have a .asoundrc, it should be accessed by default.  Is there a way to check whether Chrome is overriding default behavior and using the second entry?
Edit (much later): Turns out this was a mixing problem, I don't remember how I fixed it.  Essentially audio could only be played from one source at a time.  Not Chrome-specific.  Marking solved.
Last edited by chikinn (2015-05-25 17:18:33)

Oh, sorry, I should have mentioned: I'm using Alsa, not Pulse.
I'm trying to get any audio content working in Chrome, doesn't matter what.  The fuser command gave the same output whether I was playing a local MP3 file or streaming a YouTube video.
In ~/.mpd/mpd.conf, I have the following:
audio_output {
type "alsa"
name "alsa-mpd-ncmpcpp"
Regarding your last sentence,
emeres wrote:Does is use hardware directly, hw:0,0 or whatever you specified in device?
I don't know whether I specified anything in device or whether mpd uses hardware directly.  How can I check?  (I'm still a bit new to Linux!)

Similar Messages

  • Does anybody have problems with the Macbook Pro Retina 15' fans being really loud even when playing flash games like candy crush or tetris?

    Hey guys,
    So after a few months of using the MBP 15' Retina, I've discovered that the fans are incredibly loud even when playing flash games like candy crush or tetris.. are any of you guys having the same problem? Like all of a sudden from be quiet to unbelievably loud just as the games load. So yeah, hopefully someone has the same problem as I am having.
    What I was thinking was that the MBP Retina 15' is such a beefed up laptop, it shouldn't require that much CPU to run flash games that are not even THAT graphically intensive to which making the fans that loud..
    Thanks!

    Believe it or not, Flash REALLY isn't the issue.
    It's hardware makers making devices with less processor performance and requiring software makers to fit into a certain requirements of such. Namely iPhone, iPods and iPads.
    Flash is designed to give a lot of features and work across many operating systems, browsers and platforms as a write once solution.
    Flash has a certain level of processor performance requirement, which hardware makers like Apple want to build less powerful machines using less expensive processors.
    Apple has removed Coverflow 3D effects from iTunes and discontinued the 17" MacBook Pro, leaving only the 15" as having a more powerful 3D capable graphics capability.
    So Apple is obviously on a anti-heat/performance quest as they further thin up their hardware, trying to kill Flash by punishing Mac users who want to run it.
    Flash runs without a fan sound on my older Mac with dedicated GPU and older OS X verison, no sweat.
    Head to your System Preferences > Energy Saver and if you have it, uncheck Automatic Graphics switching, this will use the dedicated GPU and shorted battery life, but if your on power should reduce the heat and fan noise.
    Another option is to use SMC fan control and set the fan default speed slightly faster, this will keep the machine slightly cooler and not trigger the higher fan speed as often.
    If your running 10.8, you will need to System Preferences > Security > downloads to "Anywhere"
    SMC FanControl is over at MacUpdate.com.

  • Stutter when playing AVI-files

    I have problem when playing AVI-files on my computer, they are stutter when they plays. The problem arises with a wide range of media players.
    The problem started about 2 month ago. Before this time the same file(s) where playing OK!
    The same file(s) are playing OK on other computers (tested today)...
    I'm having a Satellite Pro M30, running XP pro SP2.
    I have tried every thing I can come up with without ant success:
    Uninstalled almost every program.
    Checked for virus.
    Checked for Spy-wares.
    Shutdown all unnecessary processes.
    Defragment the HD.
    Help is wanted

    Hello
    It is very strange. I have had similar situation but with all formats avi, mpg and even while watching DVDs but it was caused by my antivir application. The application has raised CPU usage and watching movies was not possible.
    Believe me I have removed this stupid application and now it works well again. Now I use other small antivir guard application. I am very happy now.
    Bye

  • Spotlight has stopped working properly. Even when a known file is entered (with full file name) in search, it fails to find it. Any ideas?

    Spotlight has stopped working properly. Even when a known file is entered (with full file name) in search, it fails to find it. It finds some things, but is not to be depended upon. Any ideas?

    Try reindexing spotlight: Spotlight: How to re-index folders or volumes - Apple Support
    If you still have problems, open Console app, select All Messages, then search for mds in the search field. Then search for mdworker. See if there are any messages indicating it is having problems with certain files.
    You can also delete the index altogether and cause it to reindex with a command in Terminal. I have always assumed the method above will do the same, but I'm not certain. You must run this command while  logged into an admin account. Copy the whole line and paste it into Terminal.
    sudo mdutil -E /
    sudo temporarily elevates your privileges and will ask for your password. When you type it in, there won't be any response in the Terminal. Just type it and hit return.

  • On my mac I have both Quicktime X and Quicktime 7 pro. Both applications seem to be crashing quite often lately. This happens when playing all files types. I notice it more with .flv file. It usually happens when i grab the time slider bar and try to move

    On my mac I have both Quicktime X and Quicktime 7 pro. Both applications seem to be crashing quite often lately. This happens when playing all files types. I notice it more with .flv file. It usually happens when i grab the time slider bar and try to move it. The apps will freeze and I have to "force quit" to get them to close. Sometimes putting the computer to sleep and waking it up helps. Is there a way to remedy this?

    Oops, I needed to update my profile. I have snow leopard now

  • Cannot get any sound when playing .avi files

    Hi All
    I am running QT version 6.5.3 on Mac OS X 10.2.8 and cannot get any sound when playing .avi files but the picture is perfect.
    I have installed the following: M-Peg 2 playback component, AVI Components and AC3 component.
    Does anyone know if I am missing anything or how I can fix this?
    Many thanks
    Garry

    Download and install Perian from http://perian.org/
    You should read this support page http://perian.org/#support in case you need to delete older codecs. In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/

  • Cant play local files on mobile

    Posting again and hoping for a response before I have to cancel Premium because of it. Hello, I have a Droid Razr M, and I can't play my local files on my Android phone. I have premium, and when I download a playlist/songs to my phone, they come up as (Song Name) Unknown Artist, Unknown Album, and completely grey instead of white with the Dowload Icon next to them. My Phone and my Desktop Spotify are sync'd and I switch between them often. 
    I used to have success transferring files when working off my Macbook Air to my phone, but no such luck with my HP desktop. I do not have the Macbook anymore so it isn't a solution to this problem.  I have connected my phone to my PC yet it does nothing within the Spotify window. When I'm playing a local file on the PC and I try to switch to mobile using connect, it just black screens and I have to back arrow out of that to get back to my playlist, where it resumes fine playing no song. This was not a problem a couple patches ago, yet it may make me unsubscribe because it is my most essential value to my Spotify experience.  I will provide more information to solve the problem, if necessary

    Yeh it won't sync local files under the latest version of Android. 
    It's not that it doesnt actually sync it, but on the phone on android. There is no option for local files. 
    It doesn't come up. Tho it is on the computer Spotify app. 
    The only way to do it, is to make a playlist. Drag everything from local files into the playlist. Then sync. 
    You can even click offline mode for what its worth. Obviously its already on the computer as its local files. 
    It seems files that are not on Spotify are faded out. It is very inconsistent about it. But none the less you can play everything. 
    Once you have it all on your new shiny playlist. Sync it to the phone. And just sync that playlist which just has local files. 
    There is no way to work out the bitrate of the files on the spotify app for Andoid, so I can see the kbps. So I know if it is a local version or what the sound quality is either. Anyway you can sync local files only through making a playlist. 
    The problem lies in the Spotify app. It has the option to click sync local files. And it actually does it, but this is useless as there is no way to search or play these files unless they are in a playlist on the latest Android App. And because it isn't in a playlist you cannot play it. 
    So yeh Make playlist. Copy Local Files into Playlist. Sync Android Phone with that Playlist. You can now play local files. 

  • Spotify won't play local files in newer version (w/o ffmpeg-spotify)

    Hi,
    I have recently updated Spotify from AUR to version 0.9.4.183-1 (updated 2013-10-10) and I'm not able to play local files anymore (I was before). Package maintainer says that the major changes in the last version is that ffmpeg-spotify is not needed anymore to play local files (and so it has been marked as outdated), so I guess it has something to do with this fact. Actually, having or not having installed ffmpeg-spotify does not make any difference.
    Just for the record, I am using PulseAudio, and when I try to play a local file, I can see in the log the following message:
    19:03:25.415 I [audio_driver_linux.cpp:18 ] Using PulseAudio
    Yep, that's all.
    Is this happening to anyone else? Does anybody knows how is Spotify supposed to play local files without ffmpeg?
    Thanks a lot.

    Well, funny enough, I've found the solution the minute after I posted the question. To play local files, the necessary package is ffmpeg-compat (in official repo). So I guess this should be added as a dependency of the spotify AUR package?
    Hope this helps someone.

  • When handling local files , should I call flush() at all?

    When handling local files, I am confused by the flush() method.
    A lot of tutorial pages say it's safer to call flush() before close(). After thinking for a while, I'm asking mysel: Does flush() applies only to buffered stream(right?)? If a stream is not buffered, program should not call flush(). For buffered stream, the corresponding close() method of the wrapper or stream class should invoke flush() method. If they don't , it's an implementation bug, which should be fixed. So for both buffered and unbuffered stream, no need to call flush() before close()(right?).
    Then the question is: when do we need to call flush() method? If we don't need call flush() at all, why are there flush() methods in almost every stream/wrapper class?
    Please let me know what is wrong, either me or something else.
    Any feedback is appreciated.
    Gang

    "The close method of FilterOutputStream calls its flush method, and then calls the close method of its underlying output stream." (Javadoc)
    By inheritance this also applies to BufferedOutputStream and its descendants. However FileOutputStream does not extend FOS or BOS so it has nothing to flush(), so flushing it does nothing at any time even before closing.
    In general flush() writes buffered bytes out of the JVM into the operating system. When you do have buffering, which in practice you should (e.g. new BufferedOutputStream(new FileOutputStream(...))), you should flush at points when you really want to be rid of the data. When operating on sockets you should always flush before try to read the next data from the socket. You can flush more often if you like but it is often counter-productive.

  • Yahoo webplayer continuously "buffering" and never plays local files

    I installed the yahoo webplayer to play mp3's on the html page. Works fine on the net. Playing local files, it is continuously buffereing and doesn't play. In DW live view, the css box in the right hand corner flashes as the flash screen operates. The flash screen moves at half speed. It appears that the webplayer is somehow interfering with the flash and vice versa. Anybody seen this before?
    <p><a href="samples/song1-1.mp3">song1-1</a></p></td><td align="center" width="52">

    Most likely a pathing issue.
    ... Have no idea what a "yahoo webplayer to play mp3's" is or how it works.
    But the action (or in-action) you are describing sounds like the player is not finding the audio file... most likely because the path to the mp3 is wrong, relative to the player.
    Only guessing... since there is no way for us to know what your "working" version of the embedding mp3 player code is without a link to the actual Web page...
    but an online player, will almost NEVER be able to find any content on your local machine....
    Adninjastrator

  • Audio out of sync when playing HD content

    Hey
    I've got an issue with the audio gets out of sync when playing some HD content. I've tried to make sure the video is stored on the Apple TV so it can't be the network connection.
    I've also tried a full reset of the unit, but still no luck.
    But it's all video clips that has this problem. Even though they encoded the same and so on, some videos audio get out of synced and some don't.
    Also have a problem with m4v files locking the ATV (and iTunes for that matter), but renaming it to a mp4 file seems to solve it. But if someone has a fix for that as well I'd much appreciate it.
    Many thanks in advance,
    Jeaz
    EDIT: I have tried to use component cables instead of HDMI, but the problem remains. Of course also tested the video on my Mac and no problems. A quick pause and resume usually solves it, but only for a minute or so.
    Message was edited by: MrJeaz

    What sort of specification is the video content? Is spec too high for AppleTV.
    It may be that it's some kind of bug in AppleTV's playback, that the Mac does not exhibit, or an issue with encoding that causes a problem only on AppleTV.
    If you are encoding video and using same as source for the frame rate, it may be better in some cases trying explicitly to specify the frame rate required in case automatic frame rate conversion is introducing some kind of timing issue. Test a short clip to see.

  • Can anyone please advise me how to solve while music pauses by itself when playing music on i tunes

    can anyone please advise me how to solve while music pauses by itself for few seconds randomly when playing music on i tunes. Already tried playing in safe mode and using a different user account the problrm still exist. i am using mountain lion and i tunes 11

    How to use multiple iPods, iPads, or iPhones with one computer

  • How to solve this. It happens even when firewall is disabled. Apple TV: "Check that any firewall software running on this computer has been set to allow communication on port 3689" alert in Windows

    How to fix this. Happens even when firewall is disabled.  (Apple TV 1st generation)
    Apple TV: "Check that any firewall software running on this computer has been set to allow communication on port 3689" alert in Windows

    After a few hours the same issue started again. (Port 3689 error) I checked my router settings and it shows ATV asd connected to my netrwork. ATV also shows in iTunes devices. It asll works till I try to sync. Then the error pops up
    I tired restoring ATV to factory settings. Even backed iTunes up to version 8 and every combonation therein. I started an older Gateway running Vista 64bit and it syncs fine with ATV although it's slow and I have to transfer movies  from my Win 7 to tyhe Vista machiner.
    I cannot find any reason for this issue. Can anybody solve this before it dribves me crazy? (Crazier)

  • No audio when playing m4v file

    I have a new laptop (HP Pavilion), downloaded the latest iTunes and QuickTime, and music files play fine. Trouble is that the TV shows I've purchased via iTunes have no audio. The video works great, but zero sound. I've uninstalled an re-installed iTunes, rebooted, etc. I'm running XP Pro. Sound card is fine as Windows Media Player plays ok.
    I saw a post about this from last summer, but no resolution. Anyone have any ideas?
    thanks

    I'm having a similar issue. When I play an m4v file, my computer freezes to the point I have to do a hard reboot. Yet if I go into services and stop the Windows Audio service, the m4v video plays fine without sound. All my other audio files play fine. It's very frustrating because I can't go to an earlier version to troubleshoot since my libraries are 7.2. If anyone knows of a fix, please let me know.
    I have a new laptop (HP Pavilion), downloaded the
    latest iTunes and QuickTime, and music files play
    fine. Trouble is that the TV shows I've purchased via
    iTunes have no audio. The video works great, but zero
    sound. I've uninstalled an re-installed iTunes,
    rebooted, etc. I'm running XP Pro. Sound card is fine
    as Windows Media Player plays ok.
    I saw a post about this from last summer, but no
    resolution. Anyone have any ideas?
    thanks

  • Sterio balance is off, even when playing out the dock.

    The other day it just started on my iPod Classic, the audio comes out at 100% on the right channel but only 50% on the left channel. It plays this way though headphones but also when played though the dock connector hooked up to speakers of over my iTrip in the car. Is there a setting for this? I tried reseting the ipod but it still does this. Do I need to restore the ipod or is there a setting hidden somewhere to change this? or is it broken?

    Okay, I've restored the iPod but the problem persists. The left channel plays at only half volume. any other ideas? It's still less than a year old, do I need to bring it in for fixing?

Maybe you are looking for

  • Imported PSD Files Are Being Erroneously Resized in Captivate 4

    I am trying to import PSD files to use in my Captivate 4 project. I verified that the PSD image size is 800 x 600, and my Captivate project dimensions are the same 800 x 600. But when the import process completes, the layers are erroneously resized t

  • Non reading embeded audio file

    Unable to read embeded audio file (mp3) in Windows seven with reader x (10.1.3) when I clickon it pdf file close immediately. Video files are read ok. Thnks in advance for answer.

  • CreativeCloud.exe doesn't work anymore. It seens to be not activated in the system tray.

    Hello and sorry for my english. My name is Jean-Pierre BRETHES and I have a problem with the creativecloud.exe program which doesn't want anymore to start. (since a while now) The icon in the system tray doesn't appear and it still to be gray (not re

  • IDOC: Incorrect function module problem

    Hi, I am working on inbound IDOC processing. I created an extension for an IDOC. I created custom segment & included it in the extension that I created. The Message type was also custom. (I merely copied an existing standard Message Type for some oth

  • Desktop ethernet doesn't work with university wall connection

    I was using my desktop at my house prior to moving to college this year and its ethernet connection worked fine. When I plugged in to the wall in my student housing apartment, it won't connect. iwconfig says eth0 no wireless extensions. I tried to ru