Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 23 Jun 2008 23:26:13 -0700 (PDT),    group: microsoft.public.win32.programmer.directx.audio        back       


IBasicAudio interface not working on windows Vista   
HI All,



I have made an directshow transform filter for MPEG contents.In that
filter i am using IBasicAudio interface for knowing the WMP volume
levels through put_Volume and get_volume functions for my application.



This application is running fine in Windows XP but when i am trying to
RUN it on VISTA then it is not working.

When i debugged, I found that  there were no calls coming to
put_Volume & get_volume, when running on Vista.



Please suggest if any one is having any idea.
date: Mon, 23 Jun 2008 23:26:13 -0700 (PDT)   author:   vipin

Re: IBasicAudio interface not working on windows Vista   
On Mon, 23 Jun 2008 23:26:13 -0700 (PDT), vipin wrote:

> When i debugged, I found that  there were no calls coming to
> put_Volume & get_volume, when running on Vista.

What do you mean by "no calls coming to"?  Who is supposed to make the
calls?

Do you mean that you're calling these functions directly in your filter?

I use IBasicAudio::put_Volume and IBasicAudio::get_Volume in my app on XP
and Vista with no changes in the code.  I am calling them from the app, not
from a filter.  If you're using them in the filter, have you tried using
them in the app instead?

-- 
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution
date: Tue, 24 Jun 2008 00:32:52 -0600   author:   The March Hare [MVP] erland

Re: IBasicAudio interface not working on windows Vista   
On Jun 24, 11:32 am, "The March Hare [MVP]"
<themarchh...@alice.in.wonderland> wrote:
> On Mon, 23 Jun 2008 23:26:13 -0700 (PDT), vipin wrote:
> > When i debugged, I found that  there were no calls coming to
> > put_Volume & get_volume, when running on Vista.
>
> What do you mean by "no calls coming to"?  Who is supposed to make the
> calls?

>>>>>The calls will initiate in the audio renderer filter where it is implemented, upto the application. The whole scenario is being governed by filter graph manager.
>
> Do you mean that you're calling these functions directly in your filter?

>>>>>I have obtained an reference to  IBasicAudio interface in my filter.I am calling them after getting the reference to the IBasicAudio Interface??? It is working fine in WinXP but not on Vista
>
> I use IBasicAudio::put_Volume and IBasicAudio::get_Volume in my app on XP
> and Vista with no changes in the code.  I am calling them from the app, not
> from a filter.  If you're using them in the filter, have you tried using
> them in the app instead?
>
> --
> Please read this before replying:
> 1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
> 2. Trim & respond inline (please don't top post or snip everything)
> 3. Benefit others:  follow up if you are helped or you found a solution
date: Tue, 24 Jun 2008 02:57:52 -0700 (PDT)   author:   vipin

Re: IBasicAudio interface not working on windows Vista   
Please do not add ">" characters to your response.  They indicate a
previous conversation.  And please trim to the essential information.

On Tue, 24 Jun 2008 02:57:52 -0700 (PDT), vipin wrote:

>> What do you mean by "no calls coming to"?  Who is supposed to make the
>> calls?
> 
> The calls will initiate in the audio renderer filter where it is
> implemented, upto the application. The whole scenario is being
> governed by filter graph manager.

How do the calls "initiate" in the audio renderer?  Is it your audio
renderer?

The documentation says:

"The IBasicAudio interface enables applications to control the volume and
balance of the audio stream."

and

"Applications should always retrieve this interface from the Filter Graph
Manager."

AFAIK, it is not designed to be used by filters.


>> Do you mean that you're calling these functions directly in your filter?
> 
>>>>>>I have obtained an reference to  IBasicAudio interface in my filter.I am calling them after getting the reference to the IBasicAudio Interface??? It is working fine in WinXP but not on Vista
>>
>> I use IBasicAudio::put_Volume and IBasicAudio::get_Volume in my app on XP
>> and Vista with no changes in the code.  I am calling them from the app, not
>> from a filter.  If you're using them in the filter, have you tried using
>> them in the app instead?

You did not answer this question.

-- 
Please read this before replying:
1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others:  follow up if you are helped or you found a solution
date: Tue, 24 Jun 2008 09:23:28 -0600   author:   The March Hare [MVP] erland

Re: IBasicAudio interface not working on windows Vista   
On Jun 24, 8:23 pm, "The March Hare [MVP]"
<themarchh...@alice.in.wonderland> wrote:
> Please do not add ">" characters to your response.  They indicate a
> previous conversation.  And please trim to the essential information.
>
> On Tue, 24 Jun 2008 02:57:52 -0700 (PDT), vipin wrote:
> >> What do you mean by "no calls coming to"?  Who is supposed to make the
> >> calls?
>
> > The calls will initiate in the audio renderer filter where it is
> > implemented, upto the application. The whole scenario is being
> > governed by filter graph manager.
>
> How do the calls "initiate" in the audio renderer?  Is it your audio
> renderer?
>
Hi . sorry for replying late..yes  taht filter is my audio renderer.

> The documentation says:
>
> "The IBasicAudio interface enables applications to control the volume and
> balance of the audio stream."
>
> and
>
> "Applications should always retrieve this interface from the Filter Graph
> Manager."
>
> AFAIK, it is not designed to be used by filters.
>
> >> Do you mean that you're calling these functions directly in your filter?
>
> >>>>>>I have obtained an reference to  IBasicAudio interface in my filter.I am calling them after getting the reference to the IBasicAudio Interface??? It is working fine in WinXP but not on Vista
>
> >> I use IBasicAudio::put_Volume and IBasicAudio::get_Volume in my app on XP
> >> and Vista with no changes in the code.  I am calling them from the app, not
> >> from a filter.  If you're using them in the filter, have you tried using
> >> them in the app instead?
>
> You did not answer this question.
I think that now it answers all of your questions.
>
> --
> Please read this before replying:
> 1. Dshow & posting help:  http://tmhare.mvps.org/help.htm
> 2. Trim & respond inline (please don't top post or snip everything)
> 3. Benefit others:  follow up if you are helped or you found a solution
date: Sun, 6 Jul 2008 23:15:31 -0700 (PDT)   author:   vipin

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us