Skip to contentSkip to conversation

Burr Brown PCM290x USB CODEC

DISCUSSION Edson Pereira 2 participants 2 messages Mar 25, 2005

lore
Share & tools
lore
#0 lore raw

Greetings,

I am in the process of implementing a small software defined radio receiver using the PCM2903 codec and have a question for the alsa-developers.

The ALSA USB-Audio interface is working very well. The audio quality of the chip is quite good, but the chip has a bug! The audio stream of one channel is delayed by one sample in respect to the other channel. This is drastic for the mentioned application since the phase correlation between channels is critical. I have contacted Burr Brown technical support and they have acknowledged the problem. The error is in the FIFO addressing hardware and is present in the ADC as well in the DAC (but in reversed channels).

The problem is quite easy to get around in the application, but this prevents the hardware interface being used with other programs (testing software for example). My question is: Where in the system software chain could a work around be implemented? In the ALSA snd-usb-audio? Or is there any other more appropriate place?

Thanks and best regards,

-- Edson

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw

Re: Delay channel X by one sample

Quoted 5 lines · Edson Pereira

Greetings,

I am in the process of implementing a small software defined radio receiver using the PCM2903 codec and have a question for the alsa-developers.

Quoted 8 lines

The ALSA USB-Audio interface is working very well. The audio quality of the chip is quite good, but the chip has a bug! The audio stream of one channel is delayed by one sample in respect to the other channel. This is drastic for the mentioned application since the phase correlation between channels is critical. I have contacted Burr Brown technical support and they have acknowledged the problem. The error is in the FIFO addressing hardware and is present in the ADC as well in the DAC (but in reversed channels).

The problem is quite easy to get around in the application, but this prevents the hardware interface being used with other programs (testing software for example). My question is: Where in the system software chain could a work around be implemented? In the ALSA snd-usb-audio? Or is there any other more appropriate place?

Thanks and best regards,

-- Edson

I think adding this "delay channel X by one sample" feature would be a nice feature to add to alsa-lib. We are going to need it in order to support 96khz SPDIF out on the Audigy 2 cards via the P16V chip. So, if other cards also need it, it would be good to add.

James

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click