• 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: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?


  • Subject: Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?
  • From: Michael Dautermann <email@hidden>
  • Date: Mon, 19 Mar 2007 13:24:05 -0700


Hi Jeff, thanks for following up!

On Mar 19, 2007, at 12:45 PM, Jeff Moore wrote:

My audio plug-in should be selectable without having live audio streams (or a device connected) though, right?


Can you explain a bit more about what you mean?

I see how that's a confusing choice of words on my part.

The more succinct question I should have asked was: "if somebody in DTS were looking at my plug-in code, they should be able to select & open the plug-in via the sequence grabber even though they wouldn't have my unique device connected nor would they necessarily hear modulating audio, right?"

My plugin claims an AudioDeviceID in its Initialize function. At the same time, the plugin also claims two AudioStreamID's (one for the left and one for the right channel) and marks those two stream id's as created via AudioHardwareStreamsCreated. And it's through those id's the "DeviceGetProperty" and "StreamGetProperty" functions are presumably being called.

If you plug-in is currently not exposing any AudioDevices, then the Sequence Grabber won't see anything. If you plug-in is exposing an AudioDevice without any AudioStreams, then I imagine that most apps would ignore your device.

If it's something else, you'll need to get into more detail about what you are doing and what you expect to see happen.

What I was expecting to happen was that the Sequence Grabber successfully selects my Audio Hardware Plugin and starts reading off the streams (at which point, I could fire up a separate pthread to start processing incoming audio data).


Or do I need to be firing some kind of "Process" (i.e. stream processing) thread (or callbacks) to stuff audio bytes into my output mBuffers even before the sequence grabber attempts to select my plug-in?

thanks again,


_______________________________________________ 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
  • Follow-Ups:
    • Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?
      • From: Brad Ford <email@hidden>
    • Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?
      • From: Jeff Moore <email@hidden>
References: 
 >what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Michael Dautermann <email@hidden>)
 >Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Brad Ford <email@hidden>)
 >Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Michael Dautermann <email@hidden>)
 >Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Jeff Moore <email@hidden>)
 >Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Michael Dautermann <email@hidden>)
 >Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Jeff Moore <email@hidden>)
 >Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Michael Dautermann <email@hidden>)
 >Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err? (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?
  • Next by Date: Re: ComplexPlayThru failure if input srate != output srate
  • Previous by thread: Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?
  • Next by thread: Re: what would cause QTSetComponentProperty to fail with a kAudioUnitErr_InvalidPropertyValue err?
  • Index(es):
    • Date
    • Thread