On Mon, 3 May 2004, Clemens Ladisch wrote:
>Nico Schottelius wrote:
>> anyone knows if there is the possibility to adjust sound volume or
>> not.
>
>CMI hardware doesn't have this capability.
>
>It would be possible to write a plugin that scales sound data in
>software before sending it to the device, but nobody has done this
>yet.

Install LADSPA, then try this in your .asoundrc ... adjust the "0.5" to
taste.

Having it show up as an adjustable mixer control for runtime tuning would
be even neater, of course.

pcm._volume {
        type ladspa
        slave.pcm "plughw:0,0";
        path "/usr/local/lib/ladspa";
        playback_plugins [
                {
                        label amp_mono
                        input {
                                controls
                                        [ 0.5 ]
                        }
                }
        ]
}

pcm.!default {
        type plug
        slave.pcm "_volume";
}

--
Erik I. Bolsų | email: <knan at mo.himolde.no>
The UNIX philosophy basically involves giving you enough rope to
hang yourself.  And then a couple of feet more, just to be sure.


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to