List Info

Thread: how to process sample as fast as possible in helix?




how to process sample as fast as possible in helix?
user name
2007-03-22 22:38:16
Hi All,
 
Does anyone here knows how to make helix client process samples as fast as possible? In Microsoft DirectX, we can give IMediaFilter::SetSyncSource(IReferenceClock *pClock) a NULL value to remove the reference clock and let a renderer filter renders every sample as soon as it arrives. Do we have a similar way in Helix and what is it?
 
Any sugesstions?
 
Thank you.
RE: how to process sample as fast as possible inhelix?
country flaguser name
United States
2007-03-23 08:02:31
When you say "process samples as fast as possible"
do
you mean "playback at faster-than-realtime"? If
so,
then there's the IHXPlaybackVelocity interface which
can be QI'd from IHXPlayer. It gives the top-level
client control over the playback speed and direction.

Eric

=============================================
Eric Hyche (ehychereal.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: helix-client-dev-bounceshelixcommunity.org 
> [mailto:helix-client-dev-bounceshelixcommunity.org] On 
> Behalf Of Qingfang Zheng
> Sent: Thursday, March 22, 2007 11:38 PM
> To: helix-client-devhelixcommunity.org
> Subject: [Helix-client-dev] how to process sample as
fast as 
> possible inhelix?
> 
> Hi All,
>  
> Does anyone here knows how to make helix client process

> samples as fast as possible? In Microsoft DirectX, we
can 
> give IMediaFilter::SetSyncSource(IReferenceClock
*pClock) a 
> NULL value to remove the reference clock and let a
renderer 
> filter renders every sample as soon as it arrives. Do
we have 
> a similar way in Helix and what is it? 
>  
> Any sugesstions? 
>  
> Thank you.
> 


_______________________________________________
Helix-client-dev mailing list
Helix-client-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev

RE: how to process sample as fast as possible inhelix?
country flaguser name
United States
2007-04-02 08:58:47
[Always copy a helix mailing list when you send email
regarding Helix. I've been on vacation for the past
week, so I haven't seen this email until today.]

All of the .pfi files are in ribosome/build/umakepf.

Eric

=============================================
Eric Hyche (ehychereal.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: Qingfang Zheng [mailto:qfzhenggmail.com] 
> Sent: Sunday, March 25, 2007 11:02 PM
> To: ehychereal.com
> Subject: Re: [Helix-client-dev] how to process sample
as fast 
> as possible inhelix?
> 
> I am using the helix SDK and can't find the 
> helix-client-core-advanced.pfi. 
>  
> Qingfang
> 
>  
> 2007/3/26, Eric Hyche <ehychereal.com>: 
> 
> 
> 	What profile are you using? This define is located
> 	in helix-client-core-advanced.pfi.
> 	
> 	Eric
> 	
> 	> Eric,
> 	>
> 	> how to turn on the
HELIX_FEATURE_PLAYBACK_VELOCITY in 
> my profile?
> 	>
> 	> Qingfang
> 	>
> 	> 2007/3/25, Eric Hyche <ehychereal.com>: 
> 	>>
> 	>>
> 	>> You probably can't QI for it until we
actually start
> 	>> playing something.
> 	>>
> 	>> Also, what profile are you using? 
> HELIX_FEATURE_PLAYBACK_VELOCITY
> 	>> needs to be in your profile. 
> 	>>
> 	>> Eric
> 	>>
> 	>>
=============================================
> 	>> Eric Hyche (ehychereal.com)
> 	>> Technical Lead
> 	>> RealNetworks, Inc. 
> 	>>
> 	>> > -----Original Message-----
> 	>> > From: Qingfang Zheng [mailto:qfzhenggmail.com]
> 	>> > Sent: Saturday, March 24, 2007 4:18 AM
> 	>> > To: helix-client-dev-bounceshelixcommunity.org; 
> ehychereal.com
> 	>> > Subject: Re: [Helix-client-dev] how to
process 
> sample as fast 
> 	>> > as possible inhelix?
> 	>> >
> 	>> > Thank you, Eric.
> 	>> >
> 	>> > I try the IHXPlaybckVelocity interface
as you 
> sugessted. The
> 	>> > code is as:
> 	>> >     ............................... 
> 	>> >     // create player
> 	>> >     if (HXR_OK !=
m_pEngine->CreatePlayer(m_pPlayer))
> 	>> >     {
> 	>> >             Close();
> 	>> >             return false;
> 	>> >     } 
> 	>> >
> 	>> >     IHXPlaybackVelocity*
pPlaybackVelocity = NULL;
> 	>> >     
m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
> 	>> > (void**) &pPlaybackVelocity);
> 	>> >  
............................................ 
> 	>> >
> 	>> > however, it seems QueryInteface() does
not work 
> properly and
> 	>> > pPlaybackVelocity is always NULL.  How
can I fix it?
> 	>> >
> 	>> > Qingfang
> 	>> > 
> 	>> >
> 	>> >
> 	>> >
> 	>> >
> 	>> > 2007/3/23, Eric Hyche <ehychereal.com>:
> 	>> >
> 	>> >
> 	>> >       When you say "process samples
as fast as 
> possible" do 
> 	>> >       you mean "playback at
faster-than-realtime"? If so,
> 	>> >       then there's the
IHXPlaybackVelocity interface which
> 	>> >       can be QI'd from IHXPlayer. It
gives the top-level 
> 	>> >       client control over the playback
speed and direction.
> 	>> >
> 	>> >       Eric
> 	>> >
> 	>> >      
=============================================
> 	>> >       Eric Hyche ( ehychereal.com)
> 	>> >       Technical Lead
> 	>> >       RealNetworks, Inc.
> 	>> >
> 	>> >       > -----Original Message-----
> 	>> >       > From:
helix-client-dev-bounceshelixcommunity.org
> 	>> > <mailto:helix-client-dev-bounceshelixcommunity.org >
> 	>> >       > 
> [mailto:helix-client-dev-bounceshelixcommunity.org] On
> 	>> >       > Behalf Of Qingfang Zheng
> 	>> >       > Sent: Thursday, March 22,
2007 11:38 PM 
> 	>> >       > To: helix-client-devhelixcommunity.org
> 	>> >       > Subject: [Helix-client-dev]
how to process 
> sample as fast as
> 	>> >       > possible inhelix? 
> 	>> >       >
> 	>> >       > Hi All,
> 	>> >       >
> 	>> >       > Does anyone here knows how to
make helix 
> client process
> 	>> >       > samples as fast as possible?
In Microsoft 
> DirectX, we can 
> 	>> >       > give 
> IMediaFilter::SetSyncSource(IReferenceClock *pClock) a
> 	>> >       > NULL value to remove the
reference clock 
> and let a renderer
> 	>> >       > filter renders every sample
as soon as it 
> arrives. Do we have 
> 	>> >       > a similar way in Helix and
what is it?
> 	>> >       >
> 	>> >       > Any sugesstions?
> 	>> >       >
> 	>> >       > Thank you.
> 	>> >       > 
> 	>> >
> 	>> >
> 	>> >
> 	>> >
> 	>> >
> 	>>
> 	>>
> 	> _______________________________________________
> 	> Helix-client-dev mailing list
> 	> Helix-client-devhelixcommunity.org 
> <mailto:Helix-client-devhelixcommunity.org> 
> 	> 
> http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
> 	>
> 	
> 	
> 	===================================== 
> 	Eric Hyche, Technical Lead
> 	RealNetworks, Inc.
> 	ehychereal.com
> 	
> 	
> 
> 
> 


_______________________________________________
Helix-client-dev mailing list
Helix-client-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev

Re: how to process sample as fast as possible inhelix?
user name
2007-04-18 02:02:25
Hi, Eric,
&nbsp;
I now can use the IHXPlaybackVelocity. However, when I set playback to more than 1x speed,&nbsp; my machine quickly runs out of memory. I wonder whether there is memroy leakage in the internal implementation.
&nbsp;
...........................................................................
&nbsp;IHXPlaybackVelocity* pPlaybackVelocity = NULL;

 m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity, (void**)&amp;pPlaybackVelocity);

 pPlaybackVelocity->InitVelocityControl(NULL);

&nbsp;pPlaybackVelocity->SetVelocity(500,false,false);
// Problem arise here. It functions properly if I use pPlaybackVelocity->;SetVelocity(100,false,false);
.....................................................................................
 
Qing-Fang

 
2007/4/2, Eric Hyche < ehychereal.com">ehychereal.com&gt;:

[Always copy a helix mailing list when you send email
regarding Helix. I've been on vacation for the past
week, so I haven't seen this email until today.]

All of the .pfi files are in ribosome/build/umakepf.

Eric

=============================================
Eric Hyche ( ehychereal.com"> ehychereal.com)
Technical Lead
RealNetworks, Inc.

> -----Original Message-----
> From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com]
> Sent: Sunday, March 25, 2007 11:02 PM
> To: ehychereal.com">ehychereal.com
> Subject: Re: [Helix-client-dev] how to process sample as fast
> as possible inhelix?
&gt;
> I am using the helix SDK and can't find the
> helix-client-core-advanced.pfi.
>
> Qingfang
&gt;
>
&gt; 2007/3/26, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>
&gt;
>&nbsp; &nbsp; &nbsp;  What profile are you using? This define is located
> &nbsp;   ;  in helix-client-core-advanced.pfi.
>
>&nbsp; &nbsp;   ; Eric
>
> &nbsp;   ;  > Eric,
>  ; &nbsp; &nbsp; >
>&nbsp;   ; &nbsp; > how to turn on the HELIX_FEATURE_PLAYBACK_VELOCITY in
> my profile?
  ; &nbsp;  >
>&nbsp;   ; &nbsp; > Qingfang
&gt; &nbsp; &nbsp;   >
>&nbsp;   ; &nbsp; > 2007/3/25, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>&nbsp; &nbsp;   ; >>
&gt; &nbsp; &nbsp;   >>
&gt; &nbsp; &nbsp;   >> You probably can't QI for it until we actually start
&gt; &nbsp; &nbsp; &nbsp; >> playing something.
  ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >> Also, what profile are you using?
>; HELIX_FEATURE_PLAYBACK_VELOCITY
> &nbsp;   ;  >> needs to be in your profile.
&gt; &nbsp; &nbsp;   >>
  ; &nbsp;  >> Eric
>&nbsp;   ; &nbsp; >>
&gt; &nbsp; &nbsp;   >> =============================================
>&nbsp; &nbsp; &nbsp;  >> Eric Hyche ( ehychereal.com">ehychereal.com)
  ; &nbsp;  >> Technical Lead
>; &nbsp; &nbsp; &nbsp; >> RealNetworks, Inc.
>&nbsp;   ; &nbsp; >>
&gt; &nbsp; &nbsp;   >> > -----Original Message-----
>&nbsp; &nbsp; &nbsp;  >> > From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com ]
>&nbsp; &nbsp; &nbsp;  >> > Sent: Saturday, March 24, 2007 4:18 AM
>&nbsp; &nbsp; &nbsp;  >> > To: helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org;
> ehychereal.com">ehychereal.com
> &nbsp;   ;  >> > Subject: Re: [Helix-client-dev] how to process
&gt; sample as fast
>&nbsp;   ; &nbsp; >> > as possible inhelix?
&gt; &nbsp; &nbsp;   >> >
>; &nbsp; &nbsp; &nbsp; >> > Thank you, Eric.
>  ; &nbsp; &nbsp; >> >
>&nbsp;   ; &nbsp; >> > I try the IHXPlaybckVelocity interface as you
> sugessted. The
>&nbsp; &nbsp;   ; >> > code is as:
>&nbsp; &nbsp;   ; >> >   ;  ...............................
; &nbsp; &nbsp;  >> >   ;  // create player
>; &nbsp; &nbsp; &nbsp; >> >   ;  if (HXR_OK != m_pEngine->CreatePlayer(m_pPlayer))
>  ; &nbsp; &nbsp; >> >   ;  {
>&nbsp; &nbsp; &nbsp;  >> >   ; &nbsp; &nbsp; &nbsp; &nbsp;  Close();
  ; &nbsp;  >> >   ; &nbsp; &nbsp; &nbsp; &nbsp;  return false;
>; &nbsp; &nbsp; &nbsp; >> >   ;  }
>&nbsp; &nbsp; &nbsp;  >> >
>&nbsp;   ; &nbsp; >> >   ;  IHXPlaybackVelocity* pPlaybackVelocity = NULL;
>  ; &nbsp; &nbsp; >> >   ; &nbsp; m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
&gt; &nbsp; &nbsp; &nbsp; >> > (void**) &pPlaybackVelocity);
>&nbsp; &nbsp; &nbsp;  >> >   ............................................
; &nbsp; &nbsp;  >> >
>&nbsp;   ; &nbsp; >> > however, it seems QueryInteface() does not work
>; properly and
>&nbsp; &nbsp;   ; >> > pPlaybackVelocity is always NULL. ; How can I fix it?
>&nbsp; &nbsp;   ; >> >
>&nbsp;   ; &nbsp; >> > Qingfang
&gt; &nbsp; &nbsp;   >> >
>&nbsp;   ; &nbsp; >> >
>; &nbsp; &nbsp; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >
>&nbsp;   ; &nbsp; >> > 2007/3/23, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>&nbsp; &nbsp;   ; >> >
>; &nbsp; &nbsp; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  When you say "process samples as fast as
> possible&quot; do
>&nbsp; &nbsp; &nbsp;  >> >   ; &nbsp;  you mean "playback at faster-than-realtime&quot;? If so,
>  ; &nbsp; &nbsp; >> >   ; &nbsp;  then there's the IHXPlaybackVelocity interface which
>  ; &nbsp; &nbsp; >> >   ; &nbsp;  can be QI'd from IHXPlayer. It gives the top-level
> &nbsp;   ;  >> >   ; &nbsp;  client control over the playback speed and direction.
>&nbsp; &nbsp; &nbsp;  >> >
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  Eric
>&nbsp;   ; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  =============================================
>&nbsp; &nbsp; &nbsp;  >> >   ; &nbsp;  Eric Hyche ( ehychereal.com">ehychereal.com)
  ; &nbsp;  >> >   ; &nbsp;  Technical Lead
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  RealNetworks, Inc.
>&nbsp;   ; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  > -----Original Message-----
>&nbsp; &nbsp;   ; >> >   ; &nbsp;  > From: helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org
&gt; &nbsp; &nbsp;   >> > <mailto: helix-client-dev-bounceshelixcommunity.org"> helix-client-dev-bounceshelixcommunity.org >
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  >
> [mailto: helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org] On
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  > Behalf Of Qingfang Zheng
>  ; &nbsp; &nbsp; >> >   ; &nbsp;  > Sent: Thursday, March 22, 2007 11:38 PM
>&nbsp; &nbsp; &nbsp;  >> >   ; &nbsp;  > To: helix-client-devhelixcommunity.org"> helix-client-devhelixcommunity.org
&gt; &nbsp; &nbsp;   >> >   ; &nbsp;  > Subject: [Helix-client-dev] how to process
&gt; sample as fast as
>&nbsp; &nbsp; &nbsp;  >> >   ; &nbsp;  > possible inhelix?
&gt; &nbsp; &nbsp;   >> >   ; &nbsp;  >
>; &nbsp; &nbsp; &nbsp; >> >   ; &nbsp;  > Hi All,
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  > Does anyone here knows how to make helix
> client process
&gt; &nbsp; &nbsp; &nbsp; >> >   ; &nbsp;  > samples as fast as possible? In Microsoft
> DirectX, we can
>&nbsp; &nbsp;   ; >> >   ; &nbsp;  > give
> IMediaFilter::SetSyncSource(IReferenceClock *pClock) a
>&nbsp; &nbsp; &nbsp;  >> >   ; &nbsp;  > NULL value to remove the reference clock
> and let a renderer
  ; &nbsp;  >> >   ; &nbsp;  > filter renders every sample as soon as it
> arrives. Do we have
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  > a similar way in Helix and what is it?
>&nbsp; &nbsp;   ; >> >   ; &nbsp;  >
>; &nbsp; &nbsp; &nbsp; >> >   ; &nbsp;  > Any sugesstions?
>&nbsp; &nbsp; &nbsp;  >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  > Thank you.
>&nbsp;   ; &nbsp; >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >
>; &nbsp; &nbsp; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >
>&nbsp;   ; &nbsp; >> >
>&nbsp;   ; &nbsp; >>
&gt; &nbsp; &nbsp;   >>
&gt; &nbsp; &nbsp;   > _______________________________________________
>&nbsp; &nbsp;   ; > Helix-client-dev mailing list
>; &nbsp; &nbsp; &nbsp; > Helix-client-devhelixcommunity.org">Helix-client-devhelixcommunity.org
&gt; <mailto: Helix-client-devhelixcommunity.org">Helix-client-devhelixcommunity.org >
>&nbsp; &nbsp;   ; >
> http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev
; &nbsp; &nbsp;  >
>
>
>&nbsp; &nbsp;   ; =====================================
>; &nbsp; &nbsp; &nbsp; Eric Hyche, Technical Lead
>&nbsp;   ; &nbsp; RealNetworks, Inc.
>&nbsp;   ; &nbsp; ehychereal.com">ehychereal.com
>
>
&gt;
>
&gt;


RE: how to process sample as fast as possible inhelix?
country flaguser name
United States
2007-04-18 08:10:39
I'm not aware of any memory leaks related
to IHXPlaybackVelocity. Have you been
able to isolate the source of the leaks?
For instance, you might play a video-only
clip to see if you still see it. Then, if
you don't, then it might in the audio. Or you
might try replacing all your renderers with
the null renderer (datatype/null/renderer), 
which just throws all packets away. If the
leak goes away when you have the null renderer,
then we know it's in the renderer somewhere.

Eric

=============================================
Eric Hyche (ehychereal.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: Qingfang Zheng [mailto:qfzhenggmail.com] 
> Sent: Wednesday, April 18, 2007 3:02 AM
> To: ehychereal.com
> Cc: helix-client-devlists.helixcommunity.org
> Subject: Re: [Helix-client-dev] how to process sample
as fast 
> as possible inhelix?
> 
> Hi, Eric,
>  
> I now can use the IHXPlaybackVelocity. However, when I
set 
> playback to more than 1x speed,  my machine quickly
runs out 
> of memory. I wonder whether there is memroy leakage in
the 
> internal implementation.
>  
>
............................................................
..
> .............
>  IHXPlaybackVelocity* pPlaybackVelocity = NULL;
> 
>  m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,

> (void**)&pPlaybackVelocity);
> 
>  pPlaybackVelocity->InitVelocityControl(NULL);
> 
>  pPlaybackVelocity->SetVelocity(500,false,false); 
> // Problem arise here. It functions properly if I use 
> pPlaybackVelocity->SetVelocity(100,false,false); 
>
............................................................
..
> .......................
>  
> Qing-Fang
> 
>  
> 2007/4/2, Eric Hyche <ehychereal.com>: 
> 
> 
> 	[Always copy a helix mailing list when you send email
> 	regarding Helix. I've been on vacation for the past 
> 	week, so I haven't seen this email until today.]
> 	
> 	All of the .pfi files are in ribosome/build/umakepf.
> 	
> 	Eric
> 	
> 	=============================================
> 	Eric Hyche ( ehychereal.com
<mailto:ehychereal.com> )
> 	Technical Lead
> 	RealNetworks, Inc.
> 	
> 	> -----Original Message-----
> 	> From: Qingfang Zheng [mailto:qfzhenggmail.com]
> 	> Sent: Sunday, March 25, 2007 11:02 PM 
> 	> To: ehychereal.com
> 	> Subject: Re: [Helix-client-dev] how to process
sample as fast
> 	> as possible inhelix?
> 	>
> 	> I am using the helix SDK and can't find the 
> 	> helix-client-core-advanced.pfi.
> 	>
> 	> Qingfang
> 	>
> 	>
> 	> 2007/3/26, Eric Hyche <ehychereal.com>:
> 	>
> 	>
> 	>       What profile are you using? This define is
located 
> 	>       in helix-client-core-advanced.pfi.
> 	>
> 	>       Eric
> 	>
> 	>       > Eric,
> 	>       >
> 	>       > how to turn on the
HELIX_FEATURE_PLAYBACK_VELOCITY in
> 	> my profile? 
> 	>       >
> 	>       > Qingfang
> 	>       >
> 	>       > 2007/3/25, Eric Hyche <ehychereal.com>:
> 	>       >>
> 	>       >>
> 	>       >> You probably can't QI for it until
we actually start 
> 	>       >> playing something.
> 	>       >>
> 	>       >> Also, what profile are you using?
> 	> HELIX_FEATURE_PLAYBACK_VELOCITY
> 	>       >> needs to be in your profile.
> 	>       >> 
> 	>       >> Eric
> 	>       >>
> 	>       >>
=============================================
> 	>       >> Eric Hyche (ehychereal.com)
> 	>       >> Technical Lead 
> 	>       >> RealNetworks, Inc.
> 	>       >>
> 	>       >> > -----Original Message-----
> 	>       >> > From: Qingfang Zheng
[mailto:qfzhenggmail.com ]
> 	>       >> > Sent: Saturday, March 24,
2007 4:18 AM
> 	>       >> > To:
helix-client-dev-bounceshelixcommunity.org;
> 	> ehychereal.com
> 	>       >> > Subject: Re:
[Helix-client-dev] how to process
> 	> sample as fast
> 	>       >> > as possible inhelix?
> 	>       >> > 
> 	>       >> > Thank you, Eric.
> 	>       >> >
> 	>       >> > I try the IHXPlaybckVelocity
interface as you
> 	> sugessted. The
> 	>       >> > code is as:
> 	>       >> >    
............................... 
> 	>       >> >     // create player
> 	>       >> >     if (HXR_OK != 
> m_pEngine->CreatePlayer(m_pPlayer))
> 	>       >> >     {
> 	>       >> >             Close();
> 	>       >> >             return false;
> 	>       >> >     }
> 	>       >> >
> 	>       >> >     IHXPlaybackVelocity*
pPlaybackVelocity = NULL;
> 	>       >> >      
> m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity, 
> 	>       >> > (void**)
&pPlaybackVelocity);
> 	>       >> >  
............................................
> 	>       >> >
> 	>       >> > however, it seems
QueryInteface() does not work 
> 	> properly and
> 	>       >> > pPlaybackVelocity is always
NULL.  How can 
> I fix it?
> 	>       >> >
> 	>       >> > Qingfang
> 	>       >> >
> 	>       >> > 
> 	>       >> >
> 	>       >> >
> 	>       >> >
> 	>       >> > 2007/3/23, Eric Hyche
<ehychereal.com>:
> 	>       >> > 
> 	>       >> >
> 	>       >> >       When you say
"process samples as fast as
> 	> possible" do
> 	>       >> >       you mean "playback
at 
> faster-than-realtime"? If so, 
> 	>       >> >       then there's the
IHXPlaybackVelocity 
> interface which
> 	>       >> >       can be QI'd from
IHXPlayer. It gives 
> the top-level
> 	>       >> >       client control over the
playback 
> speed and direction. 
> 	>       >> >
> 	>       >> >       Eric
> 	>       >> >
> 	>       >> >      
=============================================
> 	>       >> >       Eric Hyche ( ehychereal.com)
> 	>       >> >       Technical Lead
> 	>       >> >       RealNetworks, Inc.
> 	>       >> >
> 	>       >> >       > -----Original
Message----- 
> 	>       >> >       > From: 
> helix-client-dev-bounceshelixcommunity.org
> 	>       >> > <mailto: 
> helix-client-dev-bounceshelixcommunity.org 
> <mailto:helix-client-dev-bounceshelixcommunity.org>  >
> 	>       >> >       >
> 	> [mailto:helix-client-dev-bounceshelixcommunity.org] On
> 	>       >> >       > Behalf Of Qingfang
Zheng
> 	>       >> >       > Sent: Thursday,
March 22, 2007 11:38 PM
> 	>       >> >       > To: 
> helix-client-devhelixcommunity.org 
> <mailto:helix-client-devhelixcommunity.org> 
> 	>       >> >       > Subject:
[Helix-client-dev] how to process
> 	> sample as fast as
> 	>       >> >       > possible inhelix?
> 	>       >> >       > 
> 	>       >> >       > Hi All,
> 	>       >> >       >
> 	>       >> >       > Does anyone here
knows how to make helix
> 	> client process
> 	>       >> >       > samples as fast as
possible? In Microsoft 
> 	> DirectX, we can
> 	>       >> >       > give
> 	> IMediaFilter::SetSyncSource(IReferenceClock
*pClock) a
> 	>       >> >       > NULL value to
remove the reference clock
> 	> and let a renderer 
> 	>       >> >       > filter renders
every sample as soon as it
> 	> arrives. Do we have
> 	>       >> >       > a similar way in
Helix and what is it?
> 	>       >> >       > 
> 	>       >> >       > Any sugesstions?
> 	>       >> >       >
> 	>       >> >       > Thank you.
> 	>       >> >       >
> 	>       >> >
> 	>       >> > 
> 	>       >> >
> 	>       >> >
> 	>       >> >
> 	>       >>
> 	>       >>
> 	>       >
_______________________________________________
> 	>       > Helix-client-dev mailing list 
> 	>       > Helix-client-devhelixcommunity.org
> 	> <mailto:Helix-client-devhelixcommunity.org >
> 	>       >
> 	> 
> http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
> 	>       >
> 	>
> 	>
> 	>       ===================================== 
> 	>       Eric Hyche, Technical Lead
> 	>       RealNetworks, Inc.
> 	>       ehychereal.com
> 	>
> 	>
> 	>
> 	>
> 	>
> 	
> 	
> 
> 
> 


_______________________________________________
Helix-client-dev mailing list
Helix-client-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev

Re: how to process sample as fast as possible inhelix?
user name
2007-04-19 04:40:21
Hi, Eric,
&nbsp;
(1) I tried ;to replace all renderers with null render, the problem still exist.
 
(2) I have no video-only clip at hand, so I tried to use audio clip. I play some mp3 file and the problem still exist.
 
Qing-Fang

&nbsp;
2007/4/18, Eric Hyche < ehychereal.com">ehychereal.com&gt;:

I'm not aware of any memory leaks related
to IHXPlaybackVelocity. Have you been
able to isolate the source of the leaks?
For instance, you might play a video-only
clip to see if you still see it. Then, if
you don't, then it might in the audio. Or you
might try replacing all your renderers with
the null renderer (datatype/null/renderer),
which just throws all packets away. If the
leak goes away when you have the null renderer,
then we know it's in the renderer somewhere.

Eric

=============================================
Eric Hyche ( ehychereal.com">ehychereal.com)
Technical Lead
RealNetworks, Inc.

> -----Original Message-----
> From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com ]
> Sent: Wednesday, April 18, 2007 3:02 AM
> To: ehychereal.com">ehychereal.com
> Cc: helix-client-devlists.helixcommunity.org">helix-client-devlists.helixcommunity.org
> Subject: Re: [Helix-client-dev] how to process sample as fast
> as possible inhelix?
&gt;
> Hi, Eric,
>
> I now can use the IHXPlaybackVelocity. However, when I set
> playback to more than 1x speed,&nbsp; my machine quickly runs out
> of memory. I wonder whether there is memroy leakage in the
> internal implementation.
>
> ..............................................................
&gt; .............
>&nbsp; IHXPlaybackVelocity* pPlaybackVelocity = NULL;
&gt;
>&nbsp; m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
> (void**)&amp;pPlaybackVelocity);
>
>&nbsp; pPlaybackVelocity->InitVelocityControl(NULL);
>
&gt; &nbsp;pPlaybackVelocity->SetVelocity(500,false,false);
> // Problem arise here. It functions properly if I use
> pPlaybackVelocity->;SetVelocity(100,false,false);
&gt; ..............................................................
&gt; .......................
>
&gt; Qing-Fang
>
>
&gt; 2007/4/2, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>
&gt;
>&nbsp; &nbsp; &nbsp;  [Always copy a helix mailing list when you send email
&gt; &nbsp; &nbsp; &nbsp; regarding Helix. I've been on vacation for the past
>&nbsp;   ; &nbsp; week, so I haven't seen this email until today.]
&gt;
>&nbsp; &nbsp; &nbsp;  All of the .pfi files are in ribosome/build/umakepf.
>
>; &nbsp; &nbsp; &nbsp; Eric
>;
; &nbsp; &nbsp;  =============================================
>&nbsp; &nbsp; &nbsp;  Eric Hyche ( ehychereal.com">ehychereal.com <mailto: ehychereal.com">ehychereal.com&gt; )
>&nbsp; &nbsp;   ; Technical Lead
>&nbsp;   ; &nbsp; RealNetworks, Inc.
>
> &nbsp;   ;  > -----Original Message-----
>&nbsp; &nbsp; &nbsp;  > From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com]
>&nbsp; &nbsp; &nbsp;  > Sent: Sunday, March 25, 2007 11:02 PM
>&nbsp; &nbsp; &nbsp;  > To: ehychereal.com">ehychereal.com
> &nbsp;   ;  > Subject: Re: [Helix-client-dev] how to process sample as fast
>&nbsp;   ; &nbsp; > as possible inhelix?
  ; &nbsp;  >
>&nbsp;   ; &nbsp; > I am using the helix SDK and can't find the
>&nbsp; &nbsp;   ; > helix-client-core-advanced.pfi.
> &nbsp;   ;  >
>&nbsp;   ; &nbsp; > Qingfang
&gt; &nbsp; &nbsp;   >
>&nbsp;   ; &nbsp; >
>; &nbsp; &nbsp; &nbsp; > 2007/3/26, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>&nbsp; &nbsp;   ; >
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >   ; &nbsp;  What profile are you using? This define is located
> &nbsp;   ;  >   ; &nbsp;  in helix-client-core-advanced.pfi.
> &nbsp;   ;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  Eric
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > Eric,
>  ; &nbsp; &nbsp; >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > how to turn on the HELIX_FEATURE_PLAYBACK_VELOCITY in
>&nbsp;   ; &nbsp; > my profile?
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > Qingfang
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > 2007/3/25, Eric Hyche < ehychereal.com">ehychereal.com >:
>  ; &nbsp; &nbsp; >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> You probably can't QI for it until we actually start
>  ; &nbsp; &nbsp; >   ; &nbsp;  >> playing something.
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> Also, what profile are you using?
>; &nbsp; &nbsp; &nbsp; > HELIX_FEATURE_PLAYBACK_VELOCITY
> &nbsp;   ;  >   ; &nbsp;  >> needs to be in your profile.
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >>
  ; &nbsp;  >   ; &nbsp;  >> Eric
>&nbsp;   ; &nbsp; >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> =============================================
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> Eric Hyche ( ehychereal.com"> ehychereal.com)
  ; &nbsp;  >   ; &nbsp;  >> Technical Lead
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> RealNetworks, Inc.
>&nbsp;   ; &nbsp; >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> > -----Original Message-----
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> > From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com ]
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> > Sent: Saturday, March 24, 2007 4:18 AM
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >> > To: helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org;
> &nbsp;   ;  > ehychereal.com">ehychereal.com
> &nbsp;   ;  >   ; &nbsp;  >> > Subject: Re: [Helix-client-dev] how to process
> &nbsp;   ;  > sample as fast
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> > as possible inhelix?
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> > Thank you, Eric.
>  ; &nbsp; &nbsp; >   ; &nbsp;  >> >
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> > I try the IHXPlaybckVelocity interface as you
>&nbsp; &nbsp;   ; > sugessted. The
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> > code is as:
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> >   ;  ...............................
; &nbsp; &nbsp;  >   ; &nbsp;  >> >   ;  // create player
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >   ;  if (HXR_OK !=
> m_pEngine->CreatePlayer(m_pPlayer))
>  ; &nbsp; &nbsp; >   ; &nbsp;  >> >   ;  {
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp; &nbsp; &nbsp; &nbsp;  Close();
  ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp; &nbsp; &nbsp; &nbsp;  return false;
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >   ;  }
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ;  IHXPlaybackVelocity* pPlaybackVelocity = NULL;
&gt; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >
> m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
> &nbsp;   ;  >   ; &nbsp;  >> > (void**) &pPlaybackVelocity);
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >> >   ............................................
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> > however, it seems QueryInteface() does not work
>&nbsp;   ; &nbsp; > properly and
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> > pPlaybackVelocity is always NULL. ; How can
> I fix it?
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> > Qingfang
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> > 2007/3/23, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> >
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  When you say "process samples as fast as
>&nbsp; &nbsp; &nbsp;  > possible&quot; do
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >> >   ; &nbsp;  you mean "playback at
> faster-than-realtime&quot;? If so,
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> >   ; &nbsp;  then there's the IHXPlaybackVelocity
&gt; interface which
>  ; &nbsp; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  can be QI'd from IHXPlayer. It gives
&gt; the top-level
> &nbsp;   ;  >   ; &nbsp;  >> >   ; &nbsp;  client control over the playback
&gt; speed and direction.
  ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  Eric
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  =============================================
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  Eric Hyche ( ehychereal.com">ehychereal.com )
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  Technical Lead
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  RealNetworks, Inc.
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > -----Original Message-----
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> >   ; &nbsp;  > From:
> helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> > <mailto:
> helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org
&gt; <mailto: helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org > &nbsp;>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; > [mailto: helix-client-dev-bounceshelixcommunity.org">helix-client-dev-bounceshelixcommunity.org] On
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >> >   ; &nbsp;  > Behalf Of Qingfang Zheng
&gt; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > Sent: Thursday, March 22, 2007 11:38 PM
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >> >   ; &nbsp;  > To:
> helix-client-devhelixcommunity.org">helix-client-devhelixcommunity.org
> <mailto: helix-client-devhelixcommunity.org">helix-client-devhelixcommunity.org&gt;
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  > Subject: [Helix-client-dev] how to process
&gt; &nbsp; &nbsp; &nbsp; > sample as fast as
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > possible inhelix?
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > Hi All,
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  >
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > Does anyone here knows how to make helix
>  ; &nbsp; &nbsp; > client process
&gt; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > samples as fast as possible? In Microsoft
; &nbsp; &nbsp;  > DirectX, we can
>&nbsp; &nbsp;   ; >   ; &nbsp;  >> >   ; &nbsp;  > give
>&nbsp;   ; &nbsp; > IMediaFilter::SetSyncSource(IReferenceClock *pClock) a
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  > NULL value to remove the reference clock
&gt; &nbsp; &nbsp; &nbsp; > and let a renderer
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >> >   ; &nbsp;  > filter renders every sample as soon as it
>&nbsp; &nbsp; &nbsp;  > arrives. Do we have
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > a similar way in Helix and what is it?
>  ; &nbsp; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > Any sugesstions?
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  > Thank you.
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >> >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >> >
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  > _______________________________________________
>&nbsp; &nbsp;   ; >   ; &nbsp;  > Helix-client-dev mailing list
>&nbsp;   ; &nbsp; >   ; &nbsp;  > Helix-client-devhelixcommunity.org">Helix-client-devhelixcommunity.org
&gt; &nbsp; &nbsp;   > <mailto: Helix-client-devhelixcommunity.org">Helix-client-devhelixcommunity.org >
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >
> http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev
; &nbsp; &nbsp;  >   ; &nbsp;  >
>; &nbsp; &nbsp; &nbsp; >
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >   ; &nbsp;  =====================================
>&nbsp;   ; &nbsp; >   ; &nbsp;  Eric Hyche, Technical Lead
>&nbsp;   ; &nbsp; >   ; &nbsp;  RealNetworks, Inc.
>&nbsp;   ; &nbsp; >   ; &nbsp;  ehychereal.com">ehychereal.com
> &nbsp;   ;  >
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >
>
>
>
&gt;
>


RE: how to process sample as fast as possible inhelix?
country flaguser name
United States
2007-04-19 07:34:21
What build did you do? Can you isolate
where the leak is occurring? It's most likely
leaking packets, but verifying that would
really help in fixing it...

Eric

=============================================
Eric Hyche (ehychereal.com)
Technical Lead
RealNetworks, Inc.  

> -----Original Message-----
> From: Qingfang Zheng [mailto:qfzhenggmail.com] 
> Sent: Thursday, April 19, 2007 5:40 AM
> To: ehychereal.com
> Cc: helix-client-devlists.helixcommunity.org
> Subject: Re: [Helix-client-dev] how to process sample
as fast 
> as possible inhelix?
> 
> Hi, Eric,
>  
> (1) I tried to replace all renderers with null render,
the 
> problem still exist.
>  
> (2) I have no video-only clip at hand, so I tried to
use 
> audio clip. I play some mp3 file and the problem still
exist.
>  
> Qing-Fang
> 
>  
> 2007/4/18, Eric Hyche <ehychereal.com>: 
> 
> 
> 	I'm not aware of any memory leaks related
> 	to IHXPlaybackVelocity. Have you been
> 	able to isolate the source of the leaks? 
> 	For instance, you might play a video-only
> 	clip to see if you still see it. Then, if
> 	you don't, then it might in the audio. Or you
> 	might try replacing all your renderers with
> 	the null renderer (datatype/null/renderer), 
> 	which just throws all packets away. If the
> 	leak goes away when you have the null renderer,
> 	then we know it's in the renderer somewhere.
> 	
> 	Eric
> 	
> 	=============================================
> 	Eric Hyche ( ehychereal.com)
> 	Technical Lead
> 	RealNetworks, Inc.
> 	
> 	> -----Original Message-----
> 	> From: Qingfang Zheng [mailto:qfzhenggmail.com
]
> 	> Sent: Wednesday, April 18, 2007 3:02 AM
> 	> To: ehychereal.com
> 	> Cc: helix-client-devlists.helixcommunity.org 
> 	> Subject: Re: [Helix-client-dev] how to process
sample as fast
> 	> as possible inhelix?
> 	>
> 	> Hi, Eric,
> 	>
> 	> I now can use the IHXPlaybackVelocity. However,
when I set
> 	> playback to more than 1x speed,  my machine
quickly runs out 
> 	> of memory. I wonder whether there is memroy
leakage in the
> 	> internal implementation.
> 	>
> 	>
............................................................
..
> 	> .............
> 	>  IHXPlaybackVelocity* pPlaybackVelocity = NULL; 
> 	>
> 	> 
m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
> 	> (void**)&pPlaybackVelocity);
> 	>
> 	> 
pPlaybackVelocity->InitVelocityControl(NULL);
> 	>
> 	> 
pPlaybackVelocity->SetVelocity(500,false,false); 
> 	> // Problem arise here. It functions properly if I
use
> 	>
pPlaybackVelocity->SetVelocity(100,false,false);
> 	>
............................................................
..
> 	> ....................... 
> 	>
> 	> Qing-Fang
> 	>
> 	>
> 	> 2007/4/2, Eric Hyche <ehychereal.com>:
> 	>
> 	>
> 	>       [Always copy a helix mailing list when you
send email
> 	>       regarding Helix. I've been on vacation for
the past
> 	>       week, so I haven't seen this email until
today.]
> 	>
> 	>       All of the .pfi files are in
ribosome/build/umakepf.
> 	>
> 	>       Eric 
> 	>
> 	>      
=============================================
> 	>       Eric Hyche ( ehychereal.com
<mailto:ehychereal.com> )
> 	>       Technical Lead
> 	>       RealNetworks, Inc.
> 	>
> 	>       > -----Original Message-----
> 	>       > From: Qingfang Zheng
[mailto:qfzhenggmail.com]
> 	>       > Sent: Sunday, March 25, 2007 11:02 PM
> 	>       > To: ehychereal.com
> 	>       > Subject: Re: [Helix-client-dev] how to

> process sample as fast
> 	>       > as possible inhelix? 
> 	>       >
> 	>       > I am using the helix SDK and can't
find the
> 	>       > helix-client-core-advanced.pfi.
> 	>       >
> 	>       > Qingfang
> 	>       >
> 	>       > 
> 	>       > 2007/3/26, Eric Hyche <ehychereal.com>:
> 	>       >
> 	>       >
> 	>       >       What profile are you using? This
define 
> is located
> 	>       >       in
helix-client-core-advanced.pfi.
> 	>       >
> 	>       >       Eric
> 	>       >
> 	>       >       > Eric,
> 	>       >       >
> 	>       >       > how to turn on the 
> HELIX_FEATURE_PLAYBACK_VELOCITY in 
> 	>       > my profile?
> 	>       >       >
> 	>       >       > Qingfang
> 	>       >       >
> 	>       >       > 2007/3/25, Eric Hyche
<ehychereal.com >:
> 	>       >       >>
> 	>       >       >>
> 	>       >       >> You probably can't QI
for it until 
> we actually start
> 	>       >       >> playing something. 
> 	>       >       >>
> 	>       >       >> Also, what profile are
you using?
> 	>       > HELIX_FEATURE_PLAYBACK_VELOCITY
> 	>       >       >> needs to be in your
profile.
> 	>       >       >> 
> 	>       >       >> Eric
> 	>       >       >>
> 	>       >       >>
=============================================
> 	>       >       >> Eric Hyche ( ehychereal.com

> <mailto:ehychereal.com> )
> 	>       >       >> Technical Lead
> 	>       >       >> RealNetworks, Inc.
> 	>       >       >>
> 	>       >       >> > -----Original
Message----- 
> 	>       >       >> > From: Qingfang
Zheng 
> [mailto:qfzhenggmail.com ]
> 	>       >       >> > Sent: Saturday,
March 24, 2007 4:18 AM
> 	>       >       >> > To: 
> helix-client-dev-bounceshelixcommunity.org;
> 	>       > ehychereal.com
> 	>       >       >> > Subject: Re:
[Helix-client-dev] 
> how to process 
> 	>       > sample as fast
> 	>       >       >> > as possible
inhelix?
> 	>       >       >> >
> 	>       >       >> > Thank you, Eric.
> 	>       >       >> > 
> 	>       >       >> > I try the
IHXPlaybckVelocity 
> interface as you
> 	>       > sugessted. The
> 	>       >       >> > code is as:
> 	>       >       >> >    
............................... 
> 	>       >       >> >     // create
player
> 	>       >       >> >     if (HXR_OK !=
> 	> m_pEngine->CreatePlayer(m_pPlayer))
> 	>       >       >> >     {
> 	>       >       >> >            
Close(); 
> 	>       >       >> >             return
false;
> 	>       >       >> >     }
> 	>       >       >> >
> 	>       >       >> >    
IHXPlaybackVelocity* 
> pPlaybackVelocity = NULL; 
> 	>       >       >> >
> 	>
m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
> 	>       >       >> > (void**)
&pPlaybackVelocity);
> 	>       >       >> >   
> ............................................ 
> 	>       >       >> >
> 	>       >       >> > however, it seems
QueryInteface() 
> does not work
> 	>       > properly and
> 	>       >       >> > pPlaybackVelocity
is always NULL.  How can 
> 	> I fix it?
> 	>       >       >> >
> 	>       >       >> > Qingfang
> 	>       >       >> >
> 	>       >       >> >
> 	>       >       >> > 
> 	>       >       >> >
> 	>       >       >> >
> 	>       >       >> > 2007/3/23, Eric
Hyche <ehychereal.com>:
> 	>       >       >> > 
> 	>       >       >> >
> 	>       >       >> >       When you say
"process 
> samples as fast as
> 	>       > possible" do
> 	>       >       >> >       you mean
"playback at 
> 	> faster-than-realtime"? If so,
> 	>       >       >> >       then there's
the IHXPlaybackVelocity
> 	> interface which
> 	>       >       >> >       can be QI'd
from IHXPlayer. It gives 
> 	> the top-level
> 	>       >       >> >       client
control over the playback
> 	> speed and direction.
> 	>       >       >> >
> 	>       >       >> >       Eric
> 	>       >       >> >
> 	>       >       >> >       
> =============================================
> 	>       >       >> >       Eric Hyche (
ehychereal.com )
> 	>       >       >> >       Technical
Lead
> 	>       >       >> >      
RealNetworks, Inc.
> 	>       >       >> >
> 	>       >       >> >       >
-----Original Message----- 
> 	>       >       >> >       > From:
> 	> helix-client-dev-bounceshelixcommunity.org
> 	>       >       >> > <mailto: 
> 	> helix-client-dev-bounceshelixcommunity.org
> 	> <mailto:helix-client-dev-bounceshelixcommunity.org >  >
> 	>       >       >> >       >
> 	>       > 
> [mailto:helix-client-dev-bounceshelixcommunity.org] On
> 	>       >       >> >       > Behalf
Of Qingfang Zheng 
> 	>       >       >> >       > Sent:
Thursday, March 22, 
> 2007 11:38 PM
> 	>       >       >> >       > To:
> 	> helix-client-devhelixcommunity.org 
> 	> <mailto:helix-client-devhelixcommunity.org>
> 	>       >       >> >       >
Subject: 
> [Helix-client-dev] how to process
> 	>       > sample as fast as 
> 	>       >       >> >       >
possible inhelix?
> 	>       >       >> >       >
> 	>       >       >> >       > Hi
All,
> 	>       >       >> >       > 
> 	>       >       >> >       > Does
anyone here knows how 
> to make helix
> 	>       > client process
> 	>       >       >> >       > samples
as fast as 
> possible? In Microsoft
> 	>       > DirectX, we can
> 	>       >       >> >       > give
> 	>       >
IMediaFilter::SetSyncSource(IReferenceClock *pClock) a
> 	>       >       >> >       > NULL
value to remove the 
> reference clock 
> 	>       > and let a renderer
> 	>       >       >> >       > filter
renders every 
> sample as soon as it
> 	>       > arrives. Do we have
> 	>       >       >> >       > a
similar way in Helix and 
> what is it? 
> 	>       >       >> >       >
> 	>       >       >> >       > Any
sugesstions?
> 	>       >       >> >       >
> 	>       >       >> >       > Thank
you. 
> 	>       >       >> >       >
> 	>       >       >> >
> 	>       >       >> >
> 	>       >       >> >
> 	>       >       >> >
> 	>       >       >> > 
> 	>       >       >>
> 	>       >       >>
> 	>       >       > 
> _______________________________________________
> 	>       >       > Helix-client-dev mailing
list
> 	>       >       > Helix-client-devhelixcommunity.org
> 	>       > <mailto:Helix-client-devhelixcommunity.org >
> 	>       >       >
> 	>       >
> 	> 
> http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev
> 	>       >       > 
> 	>       >
> 	>       >
> 	>       >      
=====================================
> 	>       >       Eric Hyche, Technical Lead
> 	>       >       RealNetworks, Inc.
> 	>       >       ehychereal.com
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>       >
> 	>
> 	>
> 	>
> 	>
> 	>
> 	
> 	
> 
> 
> 


_______________________________________________
Helix-client-dev mailing list
Helix-client-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-client-dev

Re: how to process sample as fast as possible inhelix?
user name
2007-04-24 00:40:28
Eric,
&nbsp;
I can't exactly identify where the leakage occurs since the multithreaded nature of helix prevent me examing the source code line by line. The configuration setting of my helix is:
&nbsp;
BIF branch: hxclient_1_5_0_cayenne
Target: splay
Profile: helix-client-all-defines.
Compiler: Visual Studio 2003
&nbsp;
I try the clientapps_simpleplayer by simply add following addtion codes in front of player call its OpenURL method in main.cpp:
 
 
//my inserted codes£º
IHXPlaybackVelocity* pVel = NULL;
GetGlobal()-&gt;g_Players[0]->QueryInterface(IID_IHXPlaybackVelocity, (void**)&amp;pVel);
pVel->InitVelocityControl(NULL);
pVel->SetVelocity(500,false,false);
 
//original codes:
UNIT32 starttime, endtime, now;
for(i =0; i < nNumPlayers; i++)
{
............
}
..............................
&nbsp;
Please look into it. Thank you.
&nbsp;
Qing-Fang

 ;
2007/4/19, Eric Hyche < ehychereal.com">ehychereal.com&gt;:

What build did you do? Can you isolate
where the leak is occurring? It's most likely
leaking packets, but verifying that would
really help in fixing it...

Eric

=============================================
Eric Hyche ( ehychereal.com">ehychereal.com)
Technical Lead
RealNetworks, Inc.

> -----Original Message-----
> From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com]
> Sent: Thursday, April 19, 2007 5:40 AM
> To: ehychereal.com">ehychereal.com
> Cc: helix-client-devlists.helixcommunity.org"> helix-client-devlists.helixcommunity.org
> Subject: Re: [Helix-client-dev] how to process sample as fast
> as possible inhelix?
&gt;
> Hi, Eric,
>
> (1) I tried to replace all renderers with null render, the
> problem still exist.
>;
> (2) I have no video-only clip at hand, so I tried to use
> audio clip. I play some mp3 file and the problem still exist.
>;
> Qing-Fang
>
>
&gt; 2007/4/18, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>
&gt;
>&nbsp; &nbsp; &nbsp;  I'm not aware of any memory leaks related
&gt; &nbsp; &nbsp; &nbsp; to IHXPlaybackVelocity. Have you been
>&nbsp;   ; &nbsp; able to isolate the source of the leaks?
&gt; &nbsp; &nbsp; &nbsp; For instance, you might play a video-only
  ; &nbsp;  clip to see if you still see it. Then, if
>&nbsp; &nbsp; &nbsp;  you don't, then it might in the audio. Or you
>&nbsp; &nbsp;   ; might try replacing all your renderers with
>  ; &nbsp; &nbsp; the null renderer (datatype/null/renderer),
>&nbsp; &nbsp;   ; which just throws all packets away. If the
>&nbsp; &nbsp;   ; leak goes away when you have the null renderer,
> &nbsp;   ;  then we know it's in the renderer somewhere.
>
>  ; &nbsp; &nbsp; Eric
>
> &nbsp;   ;  =============================================
>&nbsp; &nbsp; &nbsp;  Eric Hyche ( ehychereal.com">ehychereal.com)
  ; &nbsp;  Technical Lead
>&nbsp;   ; &nbsp; RealNetworks, Inc.
>
  ; &nbsp;  > -----Original Message-----
>&nbsp; &nbsp; &nbsp;  > From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com ]
>&nbsp; &nbsp; &nbsp;  > Sent: Wednesday, April 18, 2007 3:02 AM
>&nbsp; &nbsp;   ; > To: ehychereal.com">ehychereal.com
> &nbsp;   ;  > Cc: helix-client-devlists.helixcommunity.org">helix-client-devlists.helixcommunity.org
>&nbsp; &nbsp;   ; > Subject: Re: [Helix-client-dev] how to process sample as fast
>  ; &nbsp; &nbsp; > as possible inhelix?
&gt; &nbsp; &nbsp;   >
>&nbsp;   ; &nbsp; > Hi, Eric,
>  ; &nbsp; &nbsp; >
>&nbsp;   ; &nbsp; > I now can use the IHXPlaybackVelocity. However, when I set
>&nbsp; &nbsp;   ; > playback to more than 1x speed,&nbsp; my machine quickly runs out
>&nbsp;   ; &nbsp; > of memory. I wonder whether there is memroy leakage in the
>&nbsp; &nbsp;   ; > internal implementation.
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; > ..............................................................
&gt; &nbsp; &nbsp;   > .............
>&nbsp; &nbsp; &nbsp;  IHXPlaybackVelocity* pPlaybackVelocity = NULL;
>  ; &nbsp; &nbsp; >
>&nbsp;   ; &nbsp; >  m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
>&nbsp; &nbsp;   ; > (void**)&amp;pPlaybackVelocity);
; &nbsp; &nbsp;  >
>&nbsp;   ; &nbsp; >  pPlaybackVelocity->InitVelocityControl(NULL);
> &nbsp;   ;  >
>&nbsp;   ; &nbsp; >  pPlaybackVelocity->SetVelocity(500,false,false);
>&nbsp; &nbsp; &nbsp;  > // Problem arise here. It functions properly if I use
>&nbsp;   ; &nbsp; > pPlaybackVelocity->;SetVelocity(100,false,false);
&gt; &nbsp; &nbsp; &nbsp; > ..............................................................
&gt; &nbsp; &nbsp; &nbsp; > .......................
>&nbsp; &nbsp; &nbsp;  >
>&nbsp;   ; &nbsp; > Qing-Fang
  ; &nbsp;  >
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; > 2007/4/2, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>&nbsp; &nbsp;   ; >
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >   ; &nbsp;  [Always copy a helix mailing list when you send email
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  regarding Helix. I've been on vacation for the past
>&nbsp;   ; &nbsp; >   ; &nbsp;  week, so I haven't seen this email until today.]
&gt; &nbsp; &nbsp; &nbsp; >
>&nbsp;   ; &nbsp; >   ; &nbsp;  All of the .pfi files are in ribosome/build/umakepf.
>&nbsp; &nbsp; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  Eric
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >   ; &nbsp;  =============================================
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  Eric Hyche ( ehychereal.com">ehychereal.com <mailto: ehychereal.com">ehychereal.com&gt; )
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  Technical Lead
>&nbsp;   ; &nbsp; >   ; &nbsp;  RealNetworks, Inc.
>&nbsp;   ; &nbsp; >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > -----Original Message-----
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  > From: Qingfang Zheng [mailto: qfzhenggmail.com">qfzhenggmail.com]
; &nbsp; &nbsp;  >   ; &nbsp;  > Sent: Sunday, March 25, 2007 11:02 PM
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  > To: ehychereal.com"> ehychereal.com
> &nbsp;   ;  >   ; &nbsp;  > Subject: Re: [Helix-client-dev] how to
> process sample as fast
>&nbsp;   ; &nbsp; >   ; &nbsp;  > as possible inhelix?
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > I am using the helix SDK and can't find the
>&nbsp;   ; &nbsp; >   ; &nbsp;  > helix-client-core-advanced.pfi.
> &nbsp;   ;  >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > Qingfang
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  > 2007/3/26, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>&nbsp; &nbsp;   ; >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  What profile are you using? This define
>; is located
&gt; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  in helix-client-core-advanced.pfi.
  ; &nbsp;  >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  Eric
>&nbsp;   ; &nbsp; >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  > Eric,
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  > how to turn on the
> HELIX_FEATURE_PLAYBACK_VELOCITY in
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  > my profile?
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  > Qingfang
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  > 2007/3/25, Eric Hyche < ehychereal.com">ehychereal.com >:
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >>
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> You probably can't QI for it until
> we actually start
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> playing something.
  ; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >>
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> Also, what profile are you using?
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  > HELIX_FEATURE_PLAYBACK_VELOCITY
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> needs to be in your profile.
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >>
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> Eric
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >> =============================================
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> Eric Hyche ( ehychereal.com">ehychereal.com
> <mailto: ehychereal.com">ehychereal.com&gt; )
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> Technical Lead
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> RealNetworks, Inc.
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >>
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >> > -----Original Message-----
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> > From: Qingfang Zheng
> [mailto: qfzhenggmail.com"> qfzhenggmail.com ]
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> > Sent: Saturday, March 24, 2007 4:18 AM
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >   ; &nbsp;  >> > To:
> helix-client-dev-bounceshelixcommunity.org"> helix-client-dev-bounceshelixcommunity.org;
> &nbsp;   ;  >   ; &nbsp;  > ehychereal.com">ehychereal.com
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> > Subject: Re: [Helix-client-dev]
&gt; how to process
&gt; &nbsp; &nbsp;   >   ; &nbsp;  > sample as fast
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> > as possible inhelix?
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> > Thank you, Eric.
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> > I try the IHXPlaybckVelocity
&gt; interface as you
>&nbsp; &nbsp;   ; >   ; &nbsp;  > sugessted. The
>&nbsp; &nbsp;   ; >   ; &nbsp;  >   ; &nbsp;  >> > code is as:
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ;  ...............................
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> >   ;  // create player
>; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ;  if (HXR_OK !=
>&nbsp; &nbsp;   ; > m_pEngine->CreatePlayer(m_pPlayer))
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ;  {
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp; &nbsp; &nbsp; &nbsp;  Close();
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp; &nbsp; &nbsp; &nbsp;  return false;
&gt; &nbsp; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ;  }
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ;  IHXPlaybackVelocity*
> pPlaybackVelocity = NULL;
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>  ; &nbsp; &nbsp; > m_pPlayer->QueryInterface(IID_IHXPlaybackVelocity,
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> > (void**) &pPlaybackVelocity);
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >   ; &nbsp;  >> >
> ............................................
>&nbsp; &nbsp; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> > however, it seems QueryInteface()
> does not work
>&nbsp;   ; &nbsp; >   ; &nbsp;  > properly and
>&nbsp; &nbsp;   ; >   ; &nbsp;  >   ; &nbsp;  >> > pPlaybackVelocity is always NULL. ; How can
>&nbsp;   ; &nbsp; > I fix it?
>&nbsp; &nbsp;   ; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> > Qingfang
&gt; &nbsp; &nbsp;   >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> > 2007/3/23, Eric Hyche < ehychereal.com">ehychereal.com&gt;:
>&nbsp; &nbsp;   ; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  When you say "process
> samples as fast as
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  > possible&quot; do
>&nbsp; &nbsp; &nbsp;   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  you mean "playback at
>&nbsp; &nbsp; &nbsp;  > faster-than-realtime&quot;? If so,
>&nbsp; &nbsp;   ; >   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  then there's the IHXPlaybackVelocity
> &nbsp;   ;  > interface which
>  ; &nbsp; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  can be QI'd from IHXPlayer. It gives
>  ; &nbsp; &nbsp; > the top-level
> &nbsp;   ;  >   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  client control over the playback
> &nbsp;   ;  > speed and direction.
  ; &nbsp;  >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >   ; &nbsp;  Eric
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
>&nbsp;   ; &nbsp; >   ; &nbsp;  >   ; &nbsp;  >> >
> =============================================
>&nbsp; &nbsp; &nbsp;  >