Re: Get access to the playback mic volume control by in vc++ win32



On Aug 22, 7:39 pm, NoS...@xxxxxxxxxxx (Bob Masta) wrote:
On Fri, 22 Aug 2008 04:53:25 -0700 (PDT), vinaykabadi<vinaykaba...@xxxxxxxxx> wrote:

<snip>





In regard to your statement on
(Tue, 19 Aug 2008 21:55:10 -0700 (PDT),)

U said:

" Indeed I have been following your posts from the start.  It seemed
you
 were not making any progress; I have suggested a way to proceed.

If you can see all the details of all the controls on the sound card,
via Mixer Browser or whatever, you should be able to control them
using the standard mixer API.  I suspect that once you see "the big
picture"  you will have a better idea of why your current approach
doesn't work.  It certainly won't hurt to take a look, and if you
find
something unexpected you can share it with the rest of us. "

Vinay:  What was the way you suggested, I might not have got it. Can
you explain it to me once again ?

You need to see what controls are exposed to the mixer API, and where
they are located.  I have found that it's best to use a separate app
that shows everything the mixer can access, including destinations,
sources, and controls.  The mixer layouts changed drastically from
Win9x to XP, and from XP to Vista.  If you can see the whole layout,
you can determine how to access the control you want.  It might not be
available to you at all... depends upon the driver implementation.  

You might also try running your app in XP compatibility mode under
Vista, which may expose a different set of controls.  (It does on my
system... see my new thread "MixList v6.60 and Realtek issues".)

Again, I use Mixer Browser and/or  my own MixList to see the full
mixer.  You can Google for Mixer Browser.  MixList is at
   www.daqarta.com/mixlist.exe

Best regards,

Bob Masta

              DAQARTA  v4.00
   Data AcQuisition And Real-Time Analysis
             www.daqarta.com
Scope, Spectrum, Spectrogram, Sound Level Meter
           FREE Signal Generator
        Science with your sound card!- Hide quoted text -

- Show quoted text -



Dear Bob,

I have a EXE which tells me the available devices in the system. It
gives me the information about the controls regarding their type
whether source type or destination type. I have run this exe on two
systems (with Xp and Vista OS separately) with Realtek sound card.

**********************************************************************************************************

Results on Xp :
----------------------
Realtek components,

VOL CONTROL ( TYPE : DESTINATION,
CONTROLS : VOL CONTROL and MUTE)


MICROPHONE ( TYPE : SOURCE,
CONTROL : VOL CONTROL, MUTE AND BOOST)

other devices FRONT, LINEIN, PHONE LINE, CD PLAYER, etc (still
many) also have corresponding controls all like vol control, mute
etc. All are SOURCE TYPE.



Results on Vista :
---------------------------
Realtek Speaker components,

MASTER VOL ( TYPE : DESTINATION,
CONTROLS : VOL CONTROL and MUTE)


CD AUDIO ( TYPE : SOURCE,
CONTROL : VOL CONTROL, MUTE)

MASTER VOL ( TYPE : SOURCE,
CONTROLS : VOL CONTROL and MUTE)

thats all, no other devies visible.

************************************************************************************************
We can enumerate all the devices in Xp because it is available and
can be accesible. We could access the microphone, because it is too
available.

But in vista we are not able to enumerate the devices, they are not
available any more. Only two devices, CD Audio and Master Vol, hence
only these two can be accesed. Means the other devices are not in the
architecture.

I am doing some more interesting tests, I will let u know shortly.
.



Relevant Pages

  • Re: Get access to the playback mic volume control by in vc++ win32
    ... using the standard mixer API. ... you can determine how to access the control you want. ... Vista, which may expose a different set of controls. ... I use Mixer Browser and/or  my own MixList to see the full ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: Volume Control use
    ... Volume Control that is broken. ... When you click it up if your in the Alsa ... mixer mode you on the right side a Microphone listed on the Playback ... update, my F7 GNOME volume control show only one tab, "Playback", and ...
    (Fedora)
  • Re: Volume Control use
    ... Volume Control that is broken. ... mixer mode you on the right side a Microphone listed on the Playback ... update, my F7 GNOME volume control show only one tab, "Playback", and ... Summary: The GNOME Volume Manager ...
    (Fedora)
  • Re: Simple line mixer designs
    ... Usually a mixer has a volume control to ... The original design is mono. ... I might add potentiometers before the R1 to R3 resistors to control ...
    (sci.electronics.basics)
  • Re: Volume Control use
    ... Volume Control that is broken. ... mixer mode you on the right side a Microphone listed on the Playback ... So I really think that your problems are either your hardware or Pebkac. ...
    (Fedora)

Loading