[alsa-devel] [PATCH 11/11] ALSA: digi00x: apply double-oh-three algorism to multiplex PCM samples

Robin Gareus robin at gareus.org
Mon Mar 16 18:13:31 CET 2015


On 03/16/2015 05:25 PM, Takashi Sakamoto wrote:
[..]
> 
> We can see the data in 7th MBLA data channel influences data in next
> data block (data block is represented as 'frame' in driver code). The
> pattern is what you discovered. In my understanding, this is the lack of
> my implementation.
> 
> Do you mean this issue?
> 

yes, precisely.

Though from the information Damien sent me it looked like it wraps
around in the current frame, rather then progress to the next..

Anyway, in this case the original code at
https://github.com/x42/003amdtp is also wrong and the driver will have
to allocate space for the state and retain it for subsequent calls.
Using a static on the stack won't work in case someone has multiple of
those devices.

best,
robin


More information about the Alsa-devel mailing list