Skip to contentSkip to conversation

: Patch to add volume control per voice for au88x0

ALSA - driver 0001835 [email protected] 1 participant 1 message Feb 22, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1835>
======================================================================

Reported By:                Raymond
Assigned To:                mjander
======================================================================
Project:                    ALSA - driver
Issue ID:                   1835
Category:                   PCI - au88x0
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             02-10-2006 03:28 CET
Last Modified:              02-22-2006 09:57 CET

======================================================================
Summary: Patch to add volume control per voice for au88x0
Description:
As the proposed API "PCM volume control per snd_pcm_open()" have not been finalised, I upload the program ( a workaround tool instead of demo ) to test the new feature "Volume control per voice" for au88x0 using SNDRV_CTL_ELEM_IFACE_PCM
======================================================================

----------------------------------------------------------------------
Raymond - 02-13-06 16:07
----------------------------------------------------------------------
Patch to add device number to IEC958 kcontrol of au88x0
- spdif is device 1 of au88x0

Index: alsa-driver/alsa-kernel/pci/au88x0/au88x0_pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/au88x0/au88x0_pcm.c,v retrieving revision 1.11
diff -u -r1.11 au88x0_pcm.c
--- alsa-driver/alsa-kernel/pci/au88x0/au88x0_pcm.c 17 Nov 2005 14:55:19
-0000 1.11
+++ alsa-driver/alsa-kernel/pci/au88x0/au88x0_pcm.c 13 Feb 2006 15:01:37
-0000
@@ -542,9 +676,25 @@
kctl = snd_ctl_new1(&snd_vortex_mixer_spdif[i], chip); if (!kctl)
return -ENOMEM;
+ kctl->id.device = 1;
if ((err = snd_ctl_add(chip->card, kctl)) < 0)
return err;
}
}

----------------------------------------------------------------------
Raymond - 02-22-06 09:57
----------------------------------------------------------------------
You can change the volume calculation of two/four speakers routine in the patched aplay for testing the volume per voice feature.

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1726

Issue History
Date Modified Username Field Change
======================================================================

02-10-06 03:28 Raymond        New Issue                                    
02-10-06 03:30 Raymond        File Added: iface_pcm.c                      
02-11-06 11:19 Raymond        Note Added: 0008014                          
02-13-06 16:07 Raymond        Note Added: 0008053                          
02-22-06 08:59 Raymond        File Added:

vol_ctrl_per_voice_testing_using_aplay.patch
02-22-06 09:57 Raymond Note Added: 0008156
======================================================================

-------------------------------------------------------
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