Thank you Greg
It happens with AAC and mp3, I have played AMR files and they are played
fine,
But when I add the log dlls (log.dll and logobservefile.dll) in order to
have a
debug, they play slower and not continously.
I will look to the code you mentioned.
Best Regards
Edgar


-----Original Message-----
From: Greg Wright [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 15, 2005 12:09 PM
To: Edgar Luevano
Cc: audio-dev
Subject: Re: [Audio-dev] aac on emulator


Edgar Luevano wrote:
> Hello Greg,
> The MINIMUM_AUDIO_PUSHDOWN was already set to 1000, I only uncommented
> #define ENFORCE_MINIMUM_PUSHDOWN
> but still it only sounds like a buzzer.
> What another thing do you think occasionate this?
> Thank you
> Edgar

You are going to have to debug this then. See if the audio device
every runs out of data. Put print statements in CheckToPlayMoreAudio
and see how often it is getting called. Does this happen with all
content or just AAC? Check the output of GetCurrentAudioTime as well.

--greg.


>
>
>
> -----Original Message-----
> From: Greg Wright [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 14, 2005 12:52 PM
> To: Edgar Luevano
> Cc: audio-dev
> Subject: Re: [Audio-dev] aac on emulator
>
>
> Edgar Luevano wrote:
>
>>Thank you Greg.
>>The file hxaudev.cpp and hxaudev.h seems that are not used
>>for the build I'm doing (symbian 80 emulator),
>
>
> Ah yes, we implement the audio stuff in symbian without inheriateing
> from hxaudev.cpp. Try changing audsymbian.h:
>
>
> #define MINIMUM_AUDIO_PUSHDOWN 1000
> //#define ENFORCE_MINIMUM_PUSHDOWN
>
> Just uncomment the ENFORCE_MINIMUM_PUSHDOWN and see if that helps. It
> will if AAC is setting a very small audio pushdown.
>
> --greg.
>
>
>>The sources that are compiled when I make a (make clean, make copy) in
>>audio/device
>>are : audsymbian.cpp, audio_svr.cpp, audio_svr_cntxt.cpp,
>>audio_session-mmf.cpp and fakeaudiodevice.cpp
>>so probably i need to make the change in fakedevice?
>>Thank you
>>Edgar
>>
>>-----Original Message-----
>>From: Greg Wright [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, September 14, 2005 12:11 PM
>>To: Edgar Luevano
>>Cc: audio-dev
>>Subject: Re: [Audio-dev] aac on emulator
>>
>>
>>Edgar Luevano wrote:
>>
>>
>>>Hello Greg,
>>>I tried make it work by modifying MINIMUM_AUDIO_PUSHDOWN in audsymbian.h.
>>>but still it does not sounds fine.
>>>I did not understand what you mean with "Try doubling it for MIN_HEAP".
>>>I did not see MIN_HEAP defined in the audio files.
>>>Could you clarify this please.?
>>
>>
>>This code here:
>>
>>#ifdef HELIX_CONFIG_MIN_PCM_PUSHDOWN_BYTES
>>#define MINIMUM_AUDIO_PUSHDOWN    100
>>#else
>>#define MINIMUM_AUDIO_PUSHDOWN    1000
>>#endif
>>
>>
>>instead of 100, make it 1000 lets say. If that fixes it, then you can
>>try to make it smaller if you want.
>>
>>--greg.
>>
>>
>>
>>
>>>Thank you.
>>>Edgar
>>>
>>>
>>>
>>>-----Original Message-----
>>>From: Greg Wright [mailto:[EMAIL PROTECTED]
>>>Sent: Tuesday, September 13, 2005 12:39 PM
>>>To: Edgar Luevano
>>>Cc: audio-dev
>>>Subject: Re: [Audio-dev] aac on emulator
>>>
>>>
>>>Edgar Luevano wrote:
>>>
>>>
>>>
>>>>Dear all,
>>>>I have found that aac files played on the symbian device sounds like
>>>>buzzing.
>>>>But when I play the same file in the device, it sounds fine.
>>>
>>>
>>>You mean emulator?
>>>
>>>
>>>
>>>
>>>>Do you know why this happen? How can I make it sound fine in the
>
> emulator?
>
>>>>thank you
>>>
>>>
>>>One problem you have with the Symbian emulator is that its system
>>>granularity
>>>is only 100ms, while on the device it is 10ms (or what is 15ms??). So, it
>>
>>is
>>
>>
>>>possible that you are underflowing the audio with AAC on the emulator.
You
>>>might try increasing the audio pushdown on the emulator only to see if
>>
>>that
>>
>>
>>>fixes it. Check in audio/device/pub/hxaudev.h and look for
>>>MINIMUM_AUDIO_PUSHDOWN.
>>>
>>>Try doubling it for MIN_HEAP. The important thing is that it works on the
>>>device, which it does, so only increase this for your testing on the
>>>emulator.
>>>
>>>
>>>--greg.
>>>
>>>
>>>
>>>
>>>
>>>
>>>>Edgar
>>>>
>>>>
>>>>Edgar Luevano
>>>>Dextratech Technologies
>>>>Monterrey, N.L
>>>>Mexico
>>>>+52 82202010
>>>>www.dextratech.com
>>>>
>>>>
>>>>_______________________________________________
>>>>Audio-dev mailing list
>>>>[email protected]
>>>>http://lists.helixcommunity.org/mailman/listinfo/audio-dev
>>>>
>>>
>>>
>>>
>>
>
>


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

Reply via email to