On Fri, 13 Sep 2002, Haroldo Gamal wrote:

> Hi!
> 
> I am trying to improve the korg1212 driver and I am finding a difficult
> situation. Let me explain... The korg1212 card has a fixed size audio
> frame containing two different sample size, 16 bits and 32 bits, that
> are filled by the card at same time. Ten channels of this frame have 16
> bits (ADAT + analog channels), two others have 20 bits (SPDIF) and 32
> bits of ADAT Time-code information.
> I am trying to establish three different devices to support these
> different sample size and interface type (ADAT, analog and SPDIF). To do
> this, I will have a frame size greater than the number of samples times
> its size.

Nope. The frame size should be equal to real samples, but the physical
lenght might be greater. Simply, define your copy() and silence()
callbacks for standard read/write operations and override
SNDRV_PCM_IOCTL_CHANNEL_INFO with the right step and first value.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to