From: Weijia Yang <gte733z@prism.gatech.edu>
To: alsa-devel@lists.sourceforge.net
Subject: Re: cs46xx experimental DSP drivers
Date: Tue, 24 Sep 2002 20:10:28 -0400 [thread overview]
Message-ID: <3D90FEF4.2040309@prism.gatech.edu> (raw)
In-Reply-To: 3D90D641.7050200@cucumelo.org
Benny Sjostrand wrote:>> Benny--
>
>
> Finally, so far I know the Santa Cruz is yet another card where we dont
> have technical specifications. It's possible that there is any GPIO or
> whatever kind of logic that controls "something" that makes the sound
> better.
> Not having a Santa Cruz card dont make things easier ... I had one I
> would start testing all the EGPIO's by the hard way seing what happens,
> (maybe
> someone that have time and such a card can do this ?) In the current
> cs46xx driver there is some debug code to control the EGPIO's from the
> ALSA mixer that can be activated by defining
> CONFIG_SND_CS46XX_DEBUG_GPIO in cs46xx_lib.c, that I've been using to
> test EGPIO functionality on
> the Game Theater XP card.
>
> It's possible that the current ALSA driver needs to be optimized. When a
> new PCM channel is opened first time the driver needs to do a lot a
> things. Sure that the you got a small and short peak when audio
> playback starts. Can you can meusure if it's System time, User time ?
>
> The "external_amp" parameter is specified when module is loaded, eg. on
> a line in /etc/module.conf:
> option snd-cs46xx external_amp=1
>
/Benny
I have tested the modules option (the parameter is actually
snd_external_amp) but no difference. I am attempting to use the debug
code, but after defining I get the following errors during compile:
gcc -D__KERNEL__ -DMODULE=1
-I/home/weijia/Downloads/alsa-cvs/alsa-driver/include
-I/lib/modules/2.4.19/build/include -O2 -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe -DALSA_BUILD -DCONFIG_SND_CS46XX_NEW_DSP=1
-DKBUILD_BASENAME=cs46xx_lib -c -o cs46xx_lib.o cs46xx_lib.c
In file included from cs46xx_lib.c:2:
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function
`snd_cs46xx_iec958_put':
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1615: warning: `res' might be
used uninitialized in this function
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function
`snd_cs46xx_egpio_select_get':
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1767: structure has no member
named `current_gpio'
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function
`snd_cs46xx_egpio_select_put':
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1776: structure has no member
named `current_gpio'
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1777: structure has no member
named `current_gpio'
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function
`snd_cs46xx_egpio_get':
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1791: structure has no member
named `current_gpio'
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c: In function
`snd_cs46xx_egpio_put':
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1806: structure has no member
named `current_gpio'
./../alsa-kernel/pci/cs46xx/cs46xx_lib.c:1808: structure has no member
named `current_gpio'
make[3]: *** [cs46xx_lib.o] Error 1
make[3]: Leaving directory
`/home/weijia/Downloads/alsa-cvs/alsa-driver/pci/cs46xx'
make[2]: *** [_modsubdir_cs46xx] Error 2
make[2]: Leaving directory `/home/weijia/Downloads/alsa-cvs/alsa-driver/pci'
make[1]: *** [compile] Error 1
make[1]: Leaving directory `/home/weijia/Downloads/alsa-cvs/alsa-driver'
make: *** [build] Error 2
any ideas? Thanks
--
Weijia Yang
School of Electrical and Computer Engineering
Georgia Institute of Technology
Atlanta, GA
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-09-25 0:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-23 20:53 cs46xx experimental DSP drivers Weijia Yang
2002-09-24 18:03 ` Benny Sjostrand
2002-09-24 18:56 ` Weijia Yang
2002-09-24 21:16 ` Benny Sjostrand
2002-09-25 0:10 ` Weijia Yang [this message]
2002-09-25 1:00 ` Peter Heatwole
2002-09-25 1:45 ` Weijia Yang
2002-09-25 2:03 ` Peter Heatwole
2002-09-25 5:40 ` Benny Sjostrand
2002-09-25 0:33 ` Peter Heatwole
2002-09-25 1:08 ` Peter Heatwole
2002-09-25 6:41 ` Peter Heatwole
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D90FEF4.2040309@prism.gatech.edu \
--to=gte733z@prism.gatech.edu \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.