A driver question - hiding channels in a DMA buffer
A driver question - hiding channels in a DMA buffer
- Subject: A driver question - hiding channels in a DMA buffer
- From: Devendra Parakh <email@hidden>
- Date: Mon, 09 Sep 2002 09:56:28 -0700
Hi,
We have a driver for a PCI audio device with 12 input channels (32bit
samples). This driver is working fine.
We have to now modify this driver for another flavor of the device which
only only provides connectors for 6 of the 12 channels. In other words,
we want to expose only 6 channels (channel number 1,2,7,8,9,10,11 and 12)
to CoreAudio HAL.
However, the DMA buffers will always contain data for all 12 channels.
Is there a good solution?
If I report 6 channels, then ConvertInputSamples() will probably come
back with inappropriate buffer pointers!
Any help would be greatly appreciated!
Thanks.
Devendra.
Devendra ParakhSinging Electrons, Inc.
http://www.singingelectrons.com425-889-2478
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.