Hi Greg,
   I have some more information regarding the problem. (Playout not proper for 
clips with sample rates 11025, 22050, 44000 Hz)

I could see the same problem occurring even for MP3 files. If the sample rate 
is 16Khz or 32 Khz or 48Khz, the mp3 file is played properly. I tried a mp3 
file with 22050hz and it did not play properly. There was lot of pauses same 
case as the AAC file playing. 

I hope the problem is not specific to a particular codec but in generic portion 
of the code.

Alberto ([EMAIL PROTECTED]) also seems to have the same problem. His mail 
states...."Respect to mp3 files, these sounds good for 10-15 seconds and after 
that the sounds become intermittent ( a lot of pauses in
reproduction )"

Alberto, what was the sample rate of the mp3 file that did not play properly ? 
You can find this from the Clip Info while playing it on Helix player.

Thanks,
Rajesh.





-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of ext 
Sent: Monday, May 09, 2005 5:09 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [email protected]
Subject: RE: [Porting-symbian] RE: Too many pauses while playing some
clips.


Comments inlined with marker <<Rajesh>>.....

-----Original Message-----
From: ext Greg Wright [mailto:[EMAIL PROTECTED]
Sent: Monday, May 09, 2005 12:41 PM
To: Rathinasamy Rajesh (Nokia-TP-MSW/Dallas)
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Porting-symbian] RE: Too many pauses while playing some
clips.


[EMAIL PROTECTED] wrote:
> Hi Greg,
>   I have taken all those changes. I took a fresh checkout on friday. 
> I have also tried out these config values also. Still it does not fix the 
> problem.

The next step is to find out why the pauses are happening then. The first thing
to look at is if the audio device is running dry. I would put log statements
in place where the underflow error is caught and the call to
CHXAudioDevice::NumberOfBlocksRemainingToPlay().

I think you will find that the audio device is running out of data.
<<Rajesh>> You are right, audio device is running out of data.

I take it that you are doing software AAC decoding? 
<<Rajesh>> Yes, I'm using software AAC decoding.

What is the bit rate of the clips that have problems? 
<<Rajesh>> I don't think the problem is related to bit rate.  Changing the bit 
rate did not help.

Do clips that play fine have the same bit rates?
<<Rajesh>> No, I could vary the bit rate and it works. (Only for 8, 16, 32 & 48 
KHz)

Below you mention that certain sample rates don't play while
others do. Does that hold for *all* clips? Does every clip encoded
at 22050Hz, for example, not play?
<<Rajesh>> I hope for all clips, the behavior is same. I tried two clips 
encoded with sample rate (22050Hz) and same result(no proper playout).

 If that is the case then you
might want to check and see what sample rate the audio device is
getting opened up at. Look at the calls to CheckFormat in hxaudses.cpp
and also make sure the physical device is getting opened up at the
rate the engine thinks it is. Could be a resampling problem perhaps.

<<Rajesh>> I checked the Sample rate in Audio device and hxAudSess.cpp and they 
seem to be fine. They show the same value as the clip's.

Try those things and see what happens.

<<Rajesh>> Kindly let me know if you suspect any other code for this problem.

Thanks,
Rajesh.



--greg.



> 
> Thanks,
> Rajesh.
> 
> 
> 
> -----Original Message-----
> From: ext Greg Wright [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 09, 2005 10:33 AM
> To: Rathinasamy Rajesh (Nokia-TP-MSW/Dallas)
> Cc: [email protected]; [EMAIL PROTECTED]
> Subject: Re: Too many pauses while playing some clips.
> 
> 
> [EMAIL PROTECTED] wrote:
> 
>>Hi All,
>>  I have been integrating the AAC into Symbian player. I could observe that 
>> certain AAC clips does not play completely and has lot of Pauses in between. 
>> The frequency of pause is very high that the playout is not smooth. 
>>
>>  I tested clips (Local playback) with different rates. And playout was ok 
>> for 8KHz, 16KHz, 32 KHz and 48KHz. For other rates ( 11025Hz, 22050Hz, 
>> 24000Hz, 44000Hz) , the player introduced a lot of pauses.
>>
>>Symbian player was built of helix_1_5_0 cayanne branch. 
>>
>>I hope there is some kind of calculation using the different rates which is 
>>giving this problem. Could someone help me on this ?
> 
> 
> How recent is your code? We checked in some fixes for this onto the 150Cay 
> branch last week
> or the week before. Try that and also perhaps add these values to your prefs 
> file:
> 
> R1_Mobile_4_0.cfg:
> 
> 
> AutoBWDetection=0
> CheckAudioPct=10
> RDTFeatureLevel=2
> ServerSideRateControl=0
> 
> 
> --greg.
> 
> 
> 
> 
>>Thanks,
>>Rajesh.
>>
>>
> 
> 
> _______________________________________________
> Porting-symbian mailing list
> [EMAIL PROTECTED]
> http://lists.helixcommunity.org/mailman/listinfo/porting-symbian
> 

_______________________________________________
Porting-symbian mailing list
[EMAIL PROTECTED]
http://lists.helixcommunity.org/mailman/listinfo/porting-symbian

_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to