• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mute/Unmute audio device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mute/Unmute audio device


  • Subject: Re: Mute/Unmute audio device
  • From: Brian Willoughby <email@hidden>
  • Date: Thu, 12 Nov 2009 01:58:26 -0800

Quick reply: I believe that you must first check whether the given device supports Mute. If the device does not support the property, then you must use the Volume 0.0 method as a fallback. This is from memory, so sorry no details at the moment...


On Nov 12, 2009, at 01:46, Jean-Daniel Dupas wrote:
Yes, or use the kAudioDevicePropertyMute property.

Le 12 nov. 2009 à 10:27, email@hidden a écrit :
you could set the volume to 0.0 to mute and just store the state elsewhere for the unmute...

volume is at 0.7
call mute
mute stores 0.7
set volume 0.0
call unmute
unmute sets volume to 0.7 (from stored value)


On , Symadept <email@hidden> wrote:
I am using core audio to Set/Get the Audio device volume. With reference to the following code
[snip]
This code works fine for getting volume. Similarly can I set the audio device to Mute/Unmute.


Any pointers highly appreciable.
Regards
Mustafa

On Nov 12, 2009 2:47pm, Symadept email@hidden> wrote:
How to Mute/Unmute audio device.

Regards
Mustafa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Re: Mute/Unmute audio device (From: email@hidden)
 >Re: Mute/Unmute audio device (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Mute/Unmute audio device
  • Next by Date: Equalizer and Spectrumanalyzer
  • Previous by thread: Re: Mute/Unmute audio device
  • Next by thread: Re: Re: Mute/Unmute audio device
  • Index(es):
    • Date
    • Thread