[alsa-devel] emu10k1 TRAM access ?

mAdVax madvax at free.fr
Fri May 15 22:56:44 CEST 2009


Takashi Iwai a écrit :
> At Thu, 14 May 2009 14:41:02 +0200,
> mAdVax wrote:
>> Hello
>>
>> I would like to send some data to a DSP patch. I can use alsa controls
>> (easy) but I need more : TRAM and lookup table. I read many lines of
>> code, but all this is still quite obscure...
>> Here are 3 questions :
>>
>> How can I fill the TRAM ? (from user space)
>> How can I know which TRAM area has been allocated to a given patch ?
>> Do 'lookup tables' work ?
>>
>> Some code samples will be greatly appreciated  :)
> 
> Well, it got into already my dark place of memory, and my cache is too
> small to fetch soon.  But, I recommend you to take a look at
> alsa-tools/ld10k1.  It's the central place to access the emu10k1 DSP.

Done ;)
Either I missed something, either lookup tables are not implemented.

The client part (liblo*) uses different struct for delay-lines and for
lookup tables, the server part (ld*) contains only minor references to
tram type, but the driver part does not make _any_ difference (AFAI
understand).

In the old as10k1 documentation at sourceforge, it is said :
> Note, lookup tables currently don't work
> (because we don't understand how to)
But the Alsa documentation does not say anything.

Don't you (anyone) only remember if lookup table has been implemented ?

Thanks again

Xavier




More information about the Alsa-devel mailing list