LinHES Forums
http://forums.linhes.org/

Volume leveling in R6
http://forums.linhes.org/viewtopic.php?f=25&t=22151
Page 1 of 1

Author:  tscholl [ Tue Jun 14, 2011 2:59 pm ]
Post subject:  Volume leveling in R6

I'm trying again to get volume leveling working in R6.04.

I installed ladspa 1.13-2 and swh-plugins 0.4.15-1

Then according to footeo's post for changes made for R6:

Quote:
Ladspa volume leveler does not seem to work with mythfrontends internal player anymore and if it does work I don't have any volume controls i.e. mixer issues.
-had to move /etc/asound.conf to /home/mythtv/.asoundrc
-needed to blacklist snd_pcsp in /etc/rc.conf under modules


It looks like snd_pcsp is already blacklisted in /etc/rc.conf

Code:
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST_=($ALSABLACKLIST !snd-pcsp )
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it


I currently have asound.conf in a .asoundrc subdiectory
Code:
 
[root@mythtv mythtv]# ls -l /home/mythtv/.asoundrc
total 4
-rw-r--r-- 1 mythtv mythtv 772 2010-05-19 22:00 asound.conf


But get no volume at all after configuring Audio Device to ALSA:ladcomp
Does anyone else have this working?

Any suggestions?

Author:  tscholl [ Sat Jul 16, 2011 8:58 pm ]
Post subject: 

Well I think I am making some progress. It looks like the contents of asound.conf need to be in a file .asoundrc and located in:
/home/mythtv/.asoundrc

Once that was done I did get sound after changing ALSA:Default to ALSA:ladcomp

I got error messages complaining that it couldn't write to file
/proc/asound/card0/pcm0p/sub0/prealloc
Code:
 ALSA, Error: Error opening /proc/asound/card0/pcm0p/sub0
/prealloc: Permission denied.
2011-07-16 20:35:09.963 ALSA, Error: Try to manually increase audio buffer with:
 echo 128 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc
2011-07-16 20:35:09.963 ALSA, Error: Unable to sufficiently increase ALSA hardwa
re buffer size - underruns are likely


Changed permission to 777 for all files in the /proc/asound/card0/pcm0p/sub0/ subdir

But still getting the following message
Code:
AO: Opening audio device 'ladcomp' ch 2(2) sr 48000 sf s
igned 16 bit reenc 0
2011-07-16 20:54:37.365 ALSA, Error: Setting hardware audio buffer size to 128
2011-07-16 20:54:37.407 ALSA, Error: Unable to sufficiently increase ALSA hardware buffer size - underruns are likely
2011-07-16 20:54:37.468 AudioPlayer: Enabling Audio


At least it's different . Not sure what that error really means. I have noticed a difference with the sound level between channels being better but still think commercials and program are still noticeable.

Also I can't find how to tell the music player not to use ladcomp. Any thoughts welcomed.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/