Re: [Alsa-devel] How to debug ?

2003-04-02 Thread Takashi Iwai
At 02 Apr 2003 00:17:49 +, Giuliano Pochini wrote: > > > > My driver do not work anymore with xmms (alsa-xmms plugin) and > > alsaplayer. [...] > > I tried to force the alsaplayer plugin to set S16_LE format (data is BE > on powerpc) and it do not spit that errors anymore, but it do not play

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Abramo Bagnara
Jaroslav Kysela ha scritto: On Tue, 1 Apr 2003, Abramo Bagnara wrote: I agree with Jaroslav fully: - have one ALSA control for each primitive hw control (1536 different controls) - add a field to struct sndrv_ctl_elem_info explaining how index field of sndvr_ctl_elem_id should be interpreted (3

Re: [Alsa-devel] How to debug ?

2003-04-02 Thread Giuliano Pochini
On 02-Apr-2003 Takashi Iwai wrote: >> I don't set .copy callback and ->dma_area should be 0 because the card >> uses a sg-list. #:( > > no, dma_area should not be zero. you shouldn't change the value, if > you use snd_pcm_lib_malloc_pages(). in the case of sg-buffer, > dma_area will hold the vir

Re: [Alsa-devel] How to debug ?

2003-04-02 Thread Takashi Iwai
At Wed, 02 Apr 2003 12:33:18 +0200 (CEST), Giuliano Pochini wrote: > > > On 02-Apr-2003 Takashi Iwai wrote: > >> I don't set .copy callback and ->dma_area should be 0 because the card > >> uses a sg-list. #:( > > > > no, dma_area should not be zero. you shouldn't change the value, if > > you use

Re: [Alsa-devel] How to debug ?

2003-04-02 Thread Giuliano Pochini
On 02-Apr-2003 Takashi Iwai wrote: > sorry, which fields do you mean exactly? > runtime->private_data and runtime->hw ? Yes. > anyway, runtime->dma_area and runtime->dma_bytes MUST be filled > manually IFF you don't use snd_pcm_lib_malloc_pages(). > (dma_area won't be needed if the mmap is not s

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Jaroslav Kysela
On Wed, 2 Apr 2003, Abramo Bagnara wrote: > Jaroslav Kysela ha scritto: > > On Tue, 1 Apr 2003, Abramo Bagnara wrote: > > > > > >>I agree with Jaroslav fully: > >>- have one ALSA control for each primitive hw control (1536 different > >>controls) > >>- add a field to struct sndrv_ctl_elem_info

[Alsa-devel] Need little help for Cvs compilation (for Via 8235 IC)

2003-04-02 Thread Y.Gosset
Hello. I've some problem with my audio IC on my motherboard : A7V8X , the via 8235, only with big application like games : ut2003 for example. For me, latest version (0.9.2) of alsa-lib and alsa-driver don't work very well for my configuration, and, if it's not very hard, i want compile alsa w

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Abramo Bagnara
Jaroslav Kysela ha scritto: On Wed, 2 Apr 2003, Abramo Bagnara wrote: Jaroslav Kysela ha scritto: On Tue, 1 Apr 2003, Abramo Bagnara wrote: I agree with Jaroslav fully: - have one ALSA control for each primitive hw control (1536 different controls) - add a field to struct sndrv_ctl_elem_info

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Jaroslav Kysela
On Wed, 2 Apr 2003, Abramo Bagnara wrote: > Jaroslav Kysela ha scritto: > > On Wed, 2 Apr 2003, Abramo Bagnara wrote: > > > > > >>Jaroslav Kysela ha scritto: > >> > >>>On Tue, 1 Apr 2003, Abramo Bagnara wrote: > >>> > >>> > >>> > I agree with Jaroslav fully: > - have one ALSA control for

Re: [Alsa-devel] [PATCH] cs46xx: Center-LFE channel support + a lot of hacking

2003-04-02 Thread Takashi Iwai
At Sun, 30 Mar 2003 20:51:14 +0200, Benny Sjostrand wrote: > > Hi! > > I've been working of lot things, hopefully all theese changes can > integrated painless. > > Pathes are available for download at: > http://www.cucumelo.org/~gorm/cs46xx.patch (for > alsa-kernel/pci/cs46xx/* changes) > htt

Re: [Alsa-devel] How to debug ?

2003-04-02 Thread Takashi Iwai
At Wed, 02 Apr 2003 12:55:04 +0200 (CEST), Giuliano Pochini wrote: > > > On 02-Apr-2003 Takashi Iwai wrote: > > sorry, which fields do you mean exactly? > > runtime->private_data and runtime->hw ? > > Yes. > > > anyway, runtime->dma_area and runtime->dma_bytes MUST be filled > > manually IFF yo

Re: [Alsa-devel] How to debug ?

2003-04-02 Thread Giuliano Pochini
On 02-Apr-2003 Takashi Iwai wrote: >> > anyway, runtime->dma_area and runtime->dma_bytes MUST be filled >> > manually IFF you don't use snd_pcm_lib_malloc_pages(). >> > (dma_area won't be needed if the mmap is not supported and copy >> > callback is defined, though.) >> >> I use snd_pcm_lib_malloc

Re: [Alsa-devel] Fix for front speaker output on Audigy2

2003-04-02 Thread Takashi Iwai
Hi, At Thu, 27 Mar 2003 20:51:18 +, Andrew de Quincey wrote: > > Hi, this patch enables output from the front speakers on Audigy2 cards. I've removed > the > rubbish I had for disabling the AC97 codec mixer. thanks! now the patch in the cvs. i changed the initial Wave playback volume for

Re: [Alsa-devel] How to debug ?

2003-04-02 Thread Takashi Iwai
At Wed, 02 Apr 2003 17:18:13 +0200 (CEST), Giuliano Pochini wrote: > > > On 02-Apr-2003 Takashi Iwai wrote: > >> > anyway, runtime->dma_area and runtime->dma_bytes MUST be filled > >> > manually IFF you don't use snd_pcm_lib_malloc_pages(). > >> > (dma_area won't be needed if the mmap is not supp

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Abramo Bagnara
Jaroslav Kysela ha scritto: I feel we are still thinking in a different way. The separating of volatile data is only access and memory optimization. The code in the control interface uses still linear lookups. Note that there is no restriction to use this "multi" element for matrix only. Then addre

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Paul Davis
>Ortogonally to that, IMO the increasing numbers of controls in modern >professional hardware justify the choice of hash table access to >controls (try to imagine a 26 channel hardware level meter that need to >be polled 50 times per second). TotalMix for the HDSP will not do that. Thomas is wo

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Jaroslav Kysela
On Wed, 2 Apr 2003, Abramo Bagnara wrote: > Jaroslav Kysela ha scritto: > > > > I feel we are still thinking in a different way. The separating of > > volatile data is only access and memory optimization. The code in the > > control interface uses still linear lookups. Note that there is no > > r

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Jaroslav Kysela
On Wed, 2 Apr 2003, Paul Davis wrote: > >Ortogonally to that, IMO the increasing numbers of controls in modern > >professional hardware justify the choice of hash table access to > >controls (try to imagine a 26 channel hardware level meter that need to > >be polled 50 times per second). > > T

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Abramo Bagnara
Paul Davis ha scritto: Ortogonally to that, IMO the increasing numbers of controls in modern professional hardware justify the choice of hash table access to controls (try to imagine a 26 channel hardware level meter that need to be polled 50 times per second). TotalMix for the HDSP will not d

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Abramo Bagnara
Jaroslav Kysela ha scritto: On Wed, 2 Apr 2003, Abramo Bagnara wrote: Jaroslav Kysela ha scritto: I feel we are still thinking in a different way. The separating of volatile data is only access and memory optimization. The code in the control interface uses still linear lookups. Note that there

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Paul Davis
>On Wed, 2 Apr 2003, Paul Davis wrote: > >> >Ortogonally to that, IMO the increasing numbers of controls in modern >> >professional hardware justify the choice of hash table access to >> >controls (try to imagine a 26 channel hardware level meter that need to >> >be polled 50 times per second).

Re: matrix mixer control (Re: [Alsa-devel] Complex mixer questio

2003-04-02 Thread Paul Davis
>Paul Davis ha scritto: >>>Ortogonally to that, IMO the increasing numbers of controls in modern >>>professional hardware justify the choice of hash table access to >>>controls (try to imagine a 26 channel hardware level meter that need to >>>be polled 50 times per second). >> >> >> TotalMix f

Re: [Alsa-devel] [PATCH] cs46xx: Center-LFE channel support + a lotof hacking

2003-04-02 Thread Friedrich Ewaldt
Hi Benny, I just tested your patches with my terratec DMX XFire 1024. Rear channel doesn't seem to work as intended: I always get the same output out of both output jacks when I play back on hw:0,0 (should be on the first/front output only, I assume). I can't hear anything from the analog output

Re: [Alsa-devel] Fwd: via82xx problem

2003-04-02 Thread Jordi Mallach
On Mon, Mar 31, 2003 at 10:45:34AM +0200, Takashi Iwai wrote: > please give the chip verison (listed in /proc/asound/cards in the > latest alsa driver). and try pcm:0,1 (or /dev/adsp for oss) device. > this should work (almost) as same as 0.9.0rc6. Hi Takashi, I'm seeing this same problem on my

[Alsa-devel] More Midisport 2x2 troubles

2003-04-02 Thread Ivica Bukvic
Hi all, I just upgraded to Mdk 9.1 and reinstalled all of the MIDI-related stuff, as well as the Alsa 0.9.2 (from sources, after uninstalling Mdk's RPM's). I also installed Fernando's modified alsasound script that enables smart unloading of snd- modules. The end result is that the midisport work

Re: [Alsa-devel] Fwd: via82xx problem

2003-04-02 Thread Patrick Shirkey
Jordi Mallach wrote: On Mon, Mar 31, 2003 at 10:45:34AM +0200, Takashi Iwai wrote: please give the chip verison (listed in /proc/asound/cards in the latest alsa driver). and try pcm:0,1 (or /dev/adsp for oss) device. this should work (almost) as same as 0.9.0rc6. Hi Takashi, I'm seeing this sa

[Alsa-devel] quattro bug

2003-04-02 Thread Patrick Shirkey
I found out last night that input 3 is not working for the latest cvs. All the other i/o ports are functioning correctly though. -- Patrick Shirkey - Boost Hardware Ltd. Http://www.boosthardware.com Http://www.djcj.org - The Linux Audio Users guide Being o