RE: [Audio-dev] RE: delay Resume for DSP Device
"Nguyen, Khanh V" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <AD75107ECAEC4949991FB357E775D5C5335F11BC@orsmsx502.amr.corp.intel.com> |
Oh. I could see that now. SetPushdownAudio was called before SetGranularity, but that shouldn't matter, since the value is saved in m_ulTargetPushdown. Somehow, I set the minimum pushdown to 2 seconds, my buffer is 1 second, but Resume always called before my buffer has been filled. Could you direct me to where in the code I can look to debug this? Thanks, --Khanh -----Original Message----- From: Eric Hyche [mailto:[email protected]] Sent: Monday, May 04, 2009 6:32 AM To: Nguyen, Khanh V; [email protected]; [email protected] Subject: RE: [Audio-dev] RE: delay Resume for DSP Device The granularity should already be getting set when the audio player is set up. The IHXPlayer calls CHXAudioPlayer::Setup(), which sets the granularity. CHXAudioPlayer::Setup in turn calls SetGranularity on the audio session. Eric ======================================= Eric Hyche ([email protected]) Principal Engineer RealNetworks, Inc. >-----Original Message----- >From: Nguyen, Khanh V [mailto:[email protected]] >Sent: Friday, May 01, 2009 7:25 PM >To: [email protected]; [email protected]; [email protected] >Subject: RE: [Audio-dev] RE: delay Resume for DSP Device > >Thanks Eric. >I'm assuming that minimum audio pushdown can be changed with SetAudioPushdown() call? I've stepping >through the SetAudioPushdown() call, but in the UpdateMininumPushdown(), it didn't do anything because >m_ulGranularity is 0. Does it mean I have to set granularity before I call SetAudioPushdown to make >sure the new minimum audio pushdown can be set? > >Thanks, >--Khanh > >>-----Original Message----- >>From: Eric Hyche [mailto:[email protected]] >>Sent: Friday, May 01, 2009 6:29 AM >>To: Nguyen, Khanh V; [email protected]; helix-client- >>[email protected] >>Subject: RE: [Audio-dev] RE: delay Resume for DSP Device >> >>Yes, you can be guaranteed that playback will not begin until the minimum >>audio pushdown has been satisfied.