• 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: kAudioDevicePropertyDeviceIsAlive property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kAudioDevicePropertyDeviceIsAlive property


  • Subject: Re: kAudioDevicePropertyDeviceIsAlive property
  • From: Jesus Vicente <email@hidden>
  • Date: Tue, 24 Aug 2010 09:29:04 +0200 (CEST)

Dear Jeff,

thank you very much. You were right, I was writing,

theAddress.mScope = kAudioDevicePropertyScopeInput;

instead of,

theAddress.mScope = kAudioObjectPropertyScopeGlobal;

Kind regards,
Jesus

> Date: Mon, 23 Aug 2010 11:18:38 -0700
> From: Jeff Moore <email@hidden>
> Subject: Re: kAudioDevicePropertyDeviceIsAlive property
> To: CoreAudio API <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> Chances are good you didn't pass the right address in when you signed up for the notification. Note that kAudioDevicePropertyDeviceIsAlive is a global scope property, for example.
>
> --
>
> Jeff Moore
> Core Audio
> Apple
>
>
>
> On Aug 23, 2010, at 1:11 AM, Jesus Vicente wrote:
>
> > I recently substituted the functions labelled as deprecated in the HAL APIs. In general I got the same functionality for all the new functions, however I am having some problems in receiving notification > when the device properties change.
> >
> > Basically, I substituted the function for listening the change in properties, AudioDeviceAddPropertyListener, by the new one AudioObjectAddPropertyListener. The change was successful for the majority of the properties (like kAudioDevicePropertyVolumeScalar, kAudioDevicePropertyStreamFormat, ...) but it did not work for the property kAudioDevicePropertyDeviceIsAlive. Therefore, my program did not receive notifications when I unplugged a device. Does anyone find a similar problem?

 _______________________________________________
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

  • Prev by Date: Re: More than 1 bus in a Node creating distorded audio?
  • Next by Date: Re: More than 1 bus in a Node creating distorded audio?
  • Previous by thread: Re: kAudioDevicePropertyDeviceIsAlive property
  • Next by thread: HAL Plugin mixing streams from multiple processes
  • Index(es):
    • Date
    • Thread