RE: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-05-25 Thread Rajashekhara, Sudhakar
On Tue, May 26, 2009 at 08:04:02, Troy Kisky wrote: > > Signed-off-by: Troy Kisky > --- > > I fixed 2 bugs in this version. > 1. I ensure that buffer size is a multiple of period size. > 2. Disable asp rx on shutdown. If it is not disabled on shutdown, you > cannot initialize it to different

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-05 Thread David Brownell
On Monday 25 May 2009, Troy Kisky wrote: > Use the sram(iram) to avoid underrun on audio. > I will clean this up after someone says it > works for them. Doesn't apply against current kernels though ... ___ Davinci-linux-open-source mailing list Davinc

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-29 Thread Yusuf Caglar AKYUZ
Troy Kisky wrote: > Use the sram(iram) to avoid underrun on audio. > I will clean this up after someone says it > works for them. > Hi, First of all, thanks for looking into this. This patch makes audio usable again for me on 2.6.30 kernel and overruns are gone. What I want to ask is, there i

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-29 Thread Troy Kisky
Yusuf Caglar AKYUZ wrote: > Troy Kisky wrote: >> Use the sram(iram) to avoid underrun on audio. >> I will clean this up after someone says it >> works for them. >> > > Hi, > > First of all, thanks for looking into this. This patch > makes audio usable again for me on 2.6.30 kernel and > overrun

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread Yusuf Caglar AKYUZ
Troy Kisky wrote: > Yusuf Caglar AKYUZ wrote: >> Troy Kisky wrote: >>> Use the sram(iram) to avoid underrun on audio. >>> I will clean this up after someone says it >>> works for them. >>> >> Hi, >> >> First of all, thanks for looking into this. This patch >> makes audio usable again for me on 2.6

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread Steve Chen
On Tue, 2009-06-30 at 18:03 +0300, Yusuf Caglar AKYUZ wrote: > > Aaah! There were some problem with my player, today I tested > with aplay and everything is fine. It would be nice to have > this patch included in mainline. > Can you provide some details on which player and the sample rate yo

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread Yusuf Caglar AKYUZ
Steve Chen wrote: > On Tue, 2009-06-30 at 18:03 +0300, Yusuf Caglar AKYUZ wrote: > >> Aaah! There were some problem with my player, today I tested >> with aplay and everything is fine. It would be nice to have >> this patch included in mainline. >> > > Can you provide some details on which pla

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread Steve Chen
On Tue, 2009-06-30 at 19:56 +0300, Yusuf Caglar AKYUZ wrote: > Steve Chen wrote: > > On Tue, 2009-06-30 at 18:03 +0300, Yusuf Caglar AKYUZ wrote: > > > >> Aaah! There were some problem with my player, today I tested > >> with aplay and everything is fine. It would be nice to have > >> this patch

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread Steve Chen
> > Can you try > > aplay -D hw:0,1 r441_c2.wav > I mean to say > aplay -D hw:0,0 r441_c2.wav Sorry. Steve ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/da

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread David Brownell
On Tuesday 30 June 2009, Steve Chen wrote: > Can you try >  > aplay -D hw:0,1 r441_c2.wav > > If you see something like > > Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz) >          please, try the plug plugin > > That means McBSP/AIC33 are not setup to handle sample rate of

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread Yusuf Caglar AKYUZ
Steve Chen wrote: > I believe GStreamer uses the OSS emulation layer. It appears that the > problem is at sample rate of 44.1k. > I disabled CONFIG_SND_SUPPORT_OLD_API and tried with that. Results are the same. Is there a way to disable OSS emulation layer, or should I check gstreamer handling

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread Yusuf Caglar AKYUZ
David Brownell wrote: > On Tuesday 30 June 2009, Steve Chen wrote: >> Can you try >> > aplay -D hw:0,1 r441_c2.wav >> >> If you see something like >> >> Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz) >> please, try the plug plugin >> >> That means McBSP/AIC33 are not

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-06-30 Thread David Brownell
On Tuesday 30 June 2009, Yusuf Caglar AKYUZ wrote: > > > And ... seeking someone who has a bit of spare time, > > a DM6446 EVM, and interest in solving it:  that EVM > > can switch audio clocking at runtime, among six different > > sample rates (of which those are two). > > > > So it would be int

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-07-01 Thread Steve Chen
On Tue, 2009-06-30 at 15:54 -0700, David Brownell wrote: > On Tuesday 30 June 2009, Steve Chen wrote: > > Can you try > > > aplay -D hw:0,1 r441_c2.wav > > > > If you see something like > > > > Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz) > > please, try the plug p

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-07-01 Thread Steve Chen
On Wed, 2009-07-01 at 08:48 +0300, Yusuf Caglar AKYUZ wrote: > Steve Chen wrote: > > I believe GStreamer uses the OSS emulation layer. It appears that the > > problem is at sample rate of 44.1k. > > > > I disabled CONFIG_SND_SUPPORT_OLD_API and tried with that. Results are the > same. Is there

Re: [PATCH V2] RFC: ARM: DaVinci: ASoc use iram to buffer sound

2009-07-10 Thread Caglar Akyuz
On Wednesday 01 July 2009 03:44:52 Steve Chen wrote: > On Tue, 2009-06-30 at 15:54 -0700, David Brownell wrote: > > On Tuesday 30 June 2009, Steve Chen wrote: > > > Can you try > > > > > > > aplay -D hw:0,1 r441_c2.wav > > > > > > If you see something like > > > > > > Warning: rate is not accurate