Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
how to set "MPEG Audio Decoder" properties
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mocha  
View profile  
 More options Jul 20 2002, 2:57 am
Newsgroups: microsoft.public.win32.programmer.directx.video
From: "Mocha" <john...@hotmail.com>
Date: Fri, 19 Jul 2002 23:46:10 -0700
Local: Sat, Jul 20 2002 2:46 am
Subject: how to set "MPEG Audio Decoder" properties
Hi,

I am writing a MPEG playback app that requires to set the
properties inside the MPEG Audio Decoder filter.  This
filter has different properties such as Channels (First,
Second and Both).  Please help me if you show me any
guideline to change these values.  Thanks in advance.

John


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alessandro Angeli  
View profile  
(1 user)  More options Jul 20 2002, 6:14 am
Newsgroups: microsoft.public.win32.programmer.directx.video
From: "Alessandro Angeli" <a.angeli.REM...@sogetel.REMOVE.it>
Date: Sat, 20 Jul 2002 12:01:48 +0200
Local: Sat, Jul 20 2002 6:01 am
Subject: Re: how to set "MPEG Audio Decoder" properties
This filter does not support any standard or documented custom COM interface
to programmatically set its properties. The only interface it supports is
ISpecifyPropertyPages which is used by the host application to create the
property dialog as GraphEdit and WMP6.4 do.

1. You can create the individual IPropertyPage you need with
CoCreateInstance() (you can discover its CLSID looking into the array
returned by ISpecifyPropertyPages::GetPages() and matching it with the
description in the registry).
2. Initialize it passing a dummy IPropertyPageSite to
IPropertyPage::SetPageSite() and a pointer to the IBaseFilter in
SetObjects().
3. Activate() it with a hidden HWND (or any other one, use a 1x1 RECT) but
don't Show() it.
4. Now you can use FindWindowEx() to walk the windows' hierarchy to find the
IPropertyPage panel and its components which state you need to change, so
that you can SendMessage() to them to set their state and then SendMessage()
the panel to notify it of the changes.
5. In the end, Apply() and release everything.

This works fine with the filter I tried.

"Mocha" <john...@hotmail.com> wrote in message

news:1872f01c22fb9$21dc82f0$36ef2ecf@tkmsftngxa12...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mocha  
View profile  
 More options Jul 21 2002, 5:04 am
Newsgroups: microsoft.public.win32.programmer.directx.video
From: "Mocha" <john...@hotmail.com>
Date: Sun, 21 Jul 2002 01:57:09 -0700
Local: Sun, Jul 21 2002 4:57 am
Subject: Re: how to set "MPEG Audio Decoder" properties
Alessandro,

I am very appreciated for your detail instructions to my
question.  I will try to implement your method.  If you
don't mind to do me another big favor, would you please
send me your code example to help guide me in the right
direction?  Thank you again.

John

>-----Original Message-----
>This filter does not support any standard or documented

custom COM interface
>to programmatically set its properties. The only

interface it supports is
>ISpecifyPropertyPages which is used by the host

application to create the
>property dialog as GraphEdit and WMP6.4 do.

>1. You can create the individual IPropertyPage you need
with
>CoCreateInstance() (you can discover its CLSID looking
into the array
>returned by ISpecifyPropertyPages::GetPages() and

matching it with the
>description in the registry).
>2. Initialize it passing a dummy IPropertyPageSite to
>IPropertyPage::SetPageSite() and a pointer to the
IBaseFilter in
>SetObjects().
>3. Activate() it with a hidden HWND (or any other one,
use a 1x1 RECT) but
>don't Show() it.
>4. Now you can use FindWindowEx() to walk the windows'

hierarchy to find the


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alessandro Angeli  
View profile  
 More options Jul 23 2002, 11:37 am
Newsgroups: microsoft.public.win32.programmer.directx.video
From: "Alessandro Angeli" <a.angeli.REM...@sogetel.REMOVE.it>
Date: Tue, 23 Jul 2002 17:29:05 +0200
Local: Tues, Jul 23 2002 11:29 am
Subject: Re: how to set "MPEG Audio Decoder" properties

Here is an extract from my code that would check a checkmark once the CLSID
of the property page and the classes or atoms of the page and checkmark
window are known (you have to find out these values using
ISpecifyPropertyPages::GetPages() and walking the window hierarchy).

"Mocha" <john...@hotmail.com> wrote in message

news:17d6d01c23094$98c92f90$a5e62ecf@tkmsftngxa07...

  FilterConfig.cpp
2K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mocha  
View profile  
 More options Jul 23 2002, 5:24 pm
Newsgroups: microsoft.public.win32.programmer.directx.video
From: "Mocha" <john...@hotmail.com>
Date: Tue, 23 Jul 2002 14:16:45 -0700
Local: Tues, Jul 23 2002 5:16 pm
Subject: Re: how to set "MPEG Audio Decoder" properties
Alessandro,

Thank you very much for your code example.

John

>-----Original Message-----
>Here is an extract from my code that would check a

checkmark once the CLSID


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google