VectorLinux
October 24, 2014, 09:26:49 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: can't get youtube to play audio on usb headphones  (Read 2197 times)
sledgehammer
Vectorian
****
Posts: 1425



« on: March 23, 2013, 04:17:14 pm »

Doesn't matter whether opera, firefox, or chrome, youtube plays through my laptop's onboard speakers rather than my usb headphone.  Linphone and twinkle use usb headphones, but most online videos won't. 

To avoid bothering others in the room I have to plug in my analog headphones and turn down volume on laptop speaker.

Any suggestions on how to get sound through usb headphones rather than onboard speakers?

Logged

VL7.0 xfce4 Samsung RF511
retired1af
Packager
Vectorian
****
Posts: 1264



« Reply #1 on: March 24, 2013, 02:52:38 am »

USB headphones and Linux have had a rather long and illustrious love/hate relationship. It's hit and miss as to what works and what doesn't.

It's been my experience that pulse audio does a better job of handling USB than alsa does. I do believe pulseaudio is in the repo. Give it a shot.
Logged

ASUS K73 Intel i3 Dual Core 2.3GHz
sledgehammer
Vectorian
****
Posts: 1425



« Reply #2 on: March 24, 2013, 08:52:34 am »

Thanks retired1af,

I think pulseaudio might do the trick.  Its in the repository as you suggested.

I added pulseaudio volume control, also in the repository.  But the controls don't work. 

According to slackbuilds.org, I need libatomic_ops for pulseaudio, which is not in the repository.

Also, according to slackbuilds, I need a pulse group:

Quote
Pulseaudio will need a pulse group/user to run. You can add one with
# groupadd -g 214 pulse
# useradd -u 214 -g pulse -d /var/lib/pulse pulse

However, #groupadd -g 214 pulse brings on:

Quote
vector://home/johwhi
root:# groupadd -g 214 pulse
groupadd: GID '214' already exists
vector://home/johwhi
root:# useradd -u 214 -g pulse -d /var/lib/pulse pulse
useradd: group 'pulse' does not exist
vector://home/johwhi

So, I've got some learning to do when time permits.

Logged

VL7.0 xfce4 Samsung RF511
retired1af
Packager
Vectorian
****
Posts: 1264



« Reply #3 on: March 24, 2013, 10:04:39 am »

Call it something other than "pulse".
Logged

ASUS K73 Intel i3 Dual Core 2.3GHz
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!