Hi,

I am using dm6467 with AIC34 audio codec.

I tried to run an application which reads the raw data from file and writes it
to sound device. The sample rate I am setting in application is 44100. Now, if I
read STEREO file (with sample rate 44100), then I can get the proper output. But
if I read MONO file (with sample rate 44100), then the audio in output comes
very fast. In case I set half sample rate (22050) in application, then MONO file
(with sample rate 44100) is played properly in the output.

I have made following changes in "sound/oss/dm646x/davinci-audio-aic32.c"

1). Register 7 --- > 0x9E : To select Fs(ref) = 44.1 KHz and to make left and
right DAC play mono mix of left and right input channel.


So, what other changes are to be made in AIC34 or in application to play the
MONO file with the sample rate set in application same as that of MONO file.

Thanks in advance.

Regards,

Dhaval Lakkad

-- 
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
__________________________________________________________________________
 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to