Sure it works, like I said ... if you want rate higher than 48000 and you specify in your alsa config file 'rate 96000' , the sound will not work.figueroa wrote:I have neither .asoundrc or /etc/asound.conf and firefox and firefox-bin work just fine with sound ALL of the time. Do you have a link to a site with sound that won't play wihtout .asoundrc?
FYI: https://alsa.opensrc.org/Asoundrc
Firefox-bin will still work, because that one is using apulse and not alsa.
Link doesn't matter, it's not partial, there's just no sound anywhere.
I don't know why is it so hard to grasp that, again, if you don't configure anything then it's gonna work, but if you specify rate higher than 48000 firefox (source based) will have no sound.
Here's my .asoundrc, you can see I've commented out rate 96000, firefox is the only app I'm having issues with that rate, otherwise I would use it.
48k is fine that said.
Code: Select all
#------------------------------------------------------------------------------------
# Cards
#------------------------------------------------------------------------------------
pcm.onboard_card {
type hw
card 2
format S32_LE
#rate 96000
rate 48000
}
#------------------------------------------------------------------------------------
# LADSPA plugin
#------------------------------------------------------------------------------------
pcm.ladspa {
type ladspa
slave.pcm "upmixplug";
#path "/usr/lib64/ladspa:/usr/lib/ladspa";
path "/usr/lib64/ladspa";
plugins [{
label sc4m
#label dysonCompress
input {
# RMS/peak attac time (ms) release time (ms) threshold (dB) ratio knee radius Makeup gain
#controls [1 1.5 401 -10 20 5 12]
controls [0 10 175 -22 3 3.5 9]
#controls [0 5 401 -22 10 3.5 12]
#controls [0 1 0.5 0.99] #dyson
}
}]
}
#------------------------------------------------------------------------------------
# 6ch alsa configuration
#------------------------------------------------------------------------------------
pcm.setup_6ch {
type plug # format conversion
slave.pcm "ladspa"
}
pcm.upmixplug {
type plug
slave.pcm "upmixer"
}
pcm.upmixer {
type upmix # on-demand upmixing
slave.pcm "dmixplug"
channels 6
}
pcm.dmixplug {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix # multi-stream mixing
ipc_key 4897
slave {
pcm "onboard_card"
channels 6 # adjust as necessary (e.g. 8 for 7.1 audio)
format S32_LE
#rate 96000
rate 48000
#period_time 21333
period_time 0
period_size 1024 # double if you notice increased CPU load or crackling
# halve if you like lower latency
# (e.g. when adjusting volume with softvol enabled)
#buffer_time 170666
buffer_time 0
buffer_size 8192 # some applications do not like smaller buffers
}
}
#------------------------------------------------------------------------------------
# Global configurations
#------------------------------------------------------------------------------------
# for better quality convertion
defaults.pcm.rate_converter "speexrate_medium"
#------------------------------------------------------------------------------------
# My defaults
#------------------------------------------------------------------------------------
pcm.!default pcm.setup_6ch 

