Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two ALSA problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
treeman1111
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2013
Posts: 77

PostPosted: Fri Mar 29, 2013 10:05 pm    Post subject: Two ALSA problems Reply with quote

1. I am running Google Chrome. When I go to Youtube and try watching a video, I get no sound. I know that ALSA is working because Pianobar works nicely.
2. Can I use ALSA for Skype, or is Pulseaudio required?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Mar 30, 2013 12:41 am    Post subject: Reply with quote

Try running chrome from the command-line - hopefully it will show an error message.

Skype works fine with ALSA - doesn't need pulseaudio.
_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
megabaks
Apprentice
Apprentice


Joined: 22 Jan 2012
Posts: 253
Location: Russia && Saint-Petersburg

PostPosted: Sat Mar 30, 2013 11:45 am    Post subject: Reply with quote

1. you need use dmix for mixing
i.e. my /etc/asound.conf with dmix and system-wide equalizer aka alsaequal
Code:
pcm.!default {
  type             plug
  slave.pcm       "plugequal"
}

pcm.dmixer {
  type dmix
  ipc_key 1024
  slave {
    pcm 'hw:0'
    format S32_LE
    rate 44100
  }
}

ctl.dmixer {
  type hw
  card 0
  device 0
}

pcm.dsp {
  type plug
  slave.pcm "dmixer" 
}

ctl.equal {
  type equal;
#  library "/usr/lib/ladspa/electrode_eq.so"
#  module "electrode_eq"
}

pcm.plugequal {
  type equal;
#  library "/usr/lib/ladspa/electrode_eq.so"
#  module "electrode_eq"
  slave.pcm "plug:dmixer";
}

pcm.equal {
  type plug;
  slave.pcm plugequal;
}
Back to top
View user's profile Send private message
treeman1111
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2013
Posts: 77

PostPosted: Sat Mar 30, 2013 3:45 pm    Post subject: Reply with quote

I will give both of these a try in the next few hours.
Ok, so I tried going into Chrome to watch a video, and it worked...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum