: Volume control per PCM
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1318>
======================================================================
Reported By: darkbrain
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 1318 Category: PCI - cs46xx Reproducibility: N/A Severity: feature Priority: normal Status: new Distribution: Kernel Version: ====================================================================== Date Submitted: 08-07-2005 14:45 CEST Last Modified: 02-08-2006 03:24 CET
======================================================================
Summary: Volume control per PCM
Description:
Hi, i'm trying to implement a volume control per PCM streams, i've attached a function that does the job. Unfortunally when it change the volume it also change the equalizer cutting off low frequencyes. I think there is a problem with the second poke, infact withot that poke, the volume works correctly for left case. Any suggestion? Any documentation? Thanks,
Dino
======================================================================
----------------------------------------------------------------------
darkbrain - 02-07-06 21:05
----------------------------------------------------------------------
I've uploaded a patch to test this feature and to discover the problem Any documentation?
----------------------------------------------------------------------
Raymond - 02-08-06 03:24
----------------------------------------------------------------------
I don't have any cs46xx card.
However the pcm per voice kcontrols seem to need
1) .iface = SNDRV_CTL_ELEM_IFACE_PCM
2) access = SNDRV_CTL_ELEM_ACCESS_INACTIVE,
3) assigned device and subdevice during initialisation
4) use the subdevice number to get/put the pcm volume of the subdevice
You can study emu10k1 and trident driver code.
Issue History
Date Modified Username Field Change
======================================================================
08-07-05 14:45 darkbrain New Issue 08-07-05 14:45 darkbrain File Added: volume.c 08-13-05 10:43 darkbrain Note Added: 0005802 01-10-06 12:55 darkbrain Note Added: 0007548 02-05-06 04:55 Raymond Note Added: 0007929 02-05-06 05:33 Raymond Note Edited: 0007929 02-05-06 13:19 darkbrain Note Added: 0007932 02-05-06 14:42 Raymond Note Added: 0007934 02-06-06 03:43 Raymond Note Edited: 0007934 02-07-06 21:04 darkbrain File Added: pcm1.patch 02-07-06 21:05 darkbrain Note Added: 0007960 02-08-06 02:39 Raymond Note Edited: 0007934 02-08-06 03:24 Raymond Note Added: 0007962
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642