• 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: Problem with Set/Get volume of input device with single channel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Set/Get volume of input device with single channel


  • Subject: Re: Problem with Set/Get volume of input device with single channel
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 09 Dec 2009 23:31:01 -0800

So, nothing downloaded for me when I tried to look at your code. Safari just sat there and did nothing when I clicked on the download link.

At any rate, if you have an input device with only one channel, kAudioDevicePropertyPreferredChannelsForStereo doesn't really apply. In fact, the property won't exist for such a device. So getting an error when you try to get it's value is not surprising.

Getting/setting the volume for an input channel is no different than it is for an output channel. The only difference is that you will pass kAudioDevicePropertyScopeInput for the scope. Of course, if the channel lacks a volume control, you will get an error.


On Dec 9, 2009, at 10:45 PM, Symadept wrote:

> I am trying to Set/Get Volume level of Input device which has only single channel but no master channel, then it fails to retrieve the kAudioDevicePropertyPreferredChannelsForStereo and intermittently kAudioDevicePropertyVolumeScalar for each channel. But this works well for Output device.


--

Jeff Moore
Core Audio
Apple



 _______________________________________________
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: 
 >Problem with Set/Get volume of input device with single channel (From: Symadept <email@hidden>)

  • Prev by Date: Problem with Set/Get volume of input device with single channel
  • Next by Date: Re: AVAudioPlayer playback via speaker?
  • Previous by thread: Problem with Set/Get volume of input device with single channel
  • Next by thread: Snack library for tcltk - CoreAudio Issues
  • Index(es):
    • Date
    • Thread