LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2014, 12:25 AM   #1
bobsie
Member
 
Registered: Apr 2013
Posts: 52

Rep: Reputation: Disabled
How to set audio device for Flash player integral with Chrome?


In my efforts to get rid of as many wires as possible from my laptop I have acquired a bluetooth receiver to connect my speakers. I have created a new device in asound.conf and can use this device with VLC by selecting it in the options dialog, or with mplayer by specifying it on the command line. I had a hard time trying to do the same with either Chrome or Firefox browser, until I discovered this - http://peter.sh/experiments/chromium...line-switches/

I now start Chrome from the command line with the switch --alsa-output-device=btheadset and have sound from my speakers as desired - EXCEPT that I get no sound at all with Flash, including Youtube. The Flash plug-in for Chrome is integrated with Chrome itself, so I had hoped it would use the audio device specified for Chrome - but it doesn't. It does not use the default device either; it just goes silent. I really need sound with flash, as I use it extensively for language-learning.
Any ideas?
 
Old 04-15-2014, 05:57 PM   #2
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Flash is still separate from the browser, be it Adobe or Chrome's version. If you dont have pulseaudio, i really dont know what control you have over flash sound, which BTW should use the default device.
You should try setting the "btheadset" as default device in the .asoundrc (dont ask me for specifics, google it, i am no alsa settings expert).
 
Old 04-15-2014, 11:03 PM   #3
bobsie
Member
 
Registered: Apr 2013
Posts: 52

Original Poster
Rep: Reputation: Disabled
Thank you for confirming that Flash is separate from the browser; I suspected it, but was not sure. Ideally I would like to set the output device for the Flash player, but I don't see any way to do that.

I don't have pulseaudio, and I don't think Slackware (my OS) supports it.

Yes, I considered the idea of making the bluetooth receiver the default audio device, but I am not sure it is possible. I did google it, but found details only how to make one physical sound card the default - and I only have one anyway. Also, I would be reluctant to do it as I want the built-in speakers to always be there as a fall-back when I am taking laptop away from the desk where I use it at home. I have no problem with using command line switches to run the sound through BT when it is available, but want the default option to still be the speakers, or headphones.

I suppose I could have two versions of asoundrc, and write a script to quickly swap them out when I need to. A bit of an ugly hack, but workable perhaps. I will look into it.
 
Old 04-16-2014, 01:18 AM   #4
bobsie
Member
 
Registered: Apr 2013
Posts: 52

Original Poster
Rep: Reputation: Disabled
This issue has somehow solved itself! I tried to set the BT device as default in asound.conf, made a mess and broke everything to do with audio. Had to reboot. After the reboot set up everything exactly as before, and now I get sound in Flash via BT! I spent a whole day struggling with this before I asked here, and now the problem is gone - at least for now. What can I say...?
 
  


Reply

Tags
audio, bluetooth, chrome, flash


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Flash player problem on Chrome Nikhil_Lagwankar Linux - Software 4 08-12-2013 11:42 PM
fedora 15 - chrome flash player dappa Linux - Desktop 1 09-11-2011 12:20 PM
LXer: Installing the Linux Flash Player 11 64bit for Chrome and Chromium LXer Syndicated Linux News 0 07-15-2011 03:50 AM
LXer: How To Enable Adobe's Flash Player In Google Chrome (Ubuntu 9.04) LXer Syndicated Linux News 0 08-27-2009 10:30 AM
how to set sound device for Macromedia Flash Player 7 pcuongx Linux - Newbie 2 08-10-2006 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration