• 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: Find out all IOProcs attached to an Audio device in a Process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find out all IOProcs attached to an Audio device in a Process


  • Subject: Re: Find out all IOProcs attached to an Audio device in a Process
  • From: William Stewart <email@hidden>
  • Date: Thu, 14 Oct 2004 14:46:13 -0700



On 14/10/04 2:30 PM, "Simon Liu" <email@hidden> wrote:

> [Jeff, forgot to cc the coreaudiolist]
>
> Hi Jeff,
>
> I have a test application.  It generates audio in a variety of ways.
> For example,
> a QuickTime movie in a view playing an MP3.  I have a few buttons which play
> sounds when clicked.  Conceptually, I just want to record all the sound which
> is output by my application.
>
> I thought using AUHAL would be the way to go, but I get everything which
> is sent to the default output device, including audio from other processes.

No - you can't see the audio from any other process. Also, if you are
playing a QT movie, you won't see the audio from this playback in any
fashion. You can extract the audio from a movie and play it back yourself,
but that is the only way you can "see" this.

AUHAL is a single client output unit - you are responsible for providing the
audio to it that will play out.

Bill

> Is there any way to avoid this? (Without having to rewrite the way my
> application
> currently works and generates audio)
>
> Regards,
> Simon
>
>
> On Thu, 14 Oct 2004 12:53:09 -0700, Jeff Moore <email@hidden> wrote:
>> I'm a bit lost and I don't quite know what advice to give you. Can you
>> back up and describe what you are doing a bit more? It sounds like you
>> are mixing and matching things that need to be done from the kernel
>> (i.e. get access to all the audio from all processes) with user-space
>> stuff (like AUHAL).
>>
>>
>>
>>
>> On Oct 14, 2004, at 12:39 PM, Simon Liu wrote:
>>
>>> I'm trying to isolate the audio from an arbitrary (foreign) process.
>>> Grabbing the IOProcs
>>> gives access to the data buffers to be sent to the device.  I can do
>>> this already,
>>> but am not sure if I have all the IOProcs.  So I have also tried using
>>> AUHAL, but
>>> this instead gives me all the audio being sent to the device, from all
>>> processes.
>>>
>>>
>>> On Thu, 14 Oct 2004 12:14:44 -0700, Jeff Moore <email@hidden> wrote:
>>>> No. There is no way to get the list of IOProcs that have been added to
>>>> a particular device in a particular process. In fact the API was set
>>>> up
>>>> to keep individual IOProcs ignorant of each other as much as possible.
>>>>
>>>> May I ask what it is you are trying to do? Perhaps I can offer an
>>>> alternative.
>>>>
>>>>
>>>>
>>>> On Oct 14, 2004, at 7:45 AM, Simon Liu wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Is it possible to obtain a list of all registered IOProcs for an
>>>>> audio
>>>>> device?
>>>>>
>>>>> kAudioDevicePropertyDeviceIsRunning can tell me if any IOProcs have
>>>>> started.  Is there a property that can help with the above?
>>>>>
>>>>> Regards,
>>>>> Simon
>>>>>  _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Coreaudio-api mailing list      (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> 40apple.com
>>>>>
>>>>> This email sent to email@hidden
>>>>>
>>>>
>>>> --
>>>>
>>>> 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:
>>>> 40gmail.com
>>>>
>>>> This email sent to email@hidden
>>>>
>>>>
>>
>>
>>
>> --
>>
>> 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
>>
>  _______________________________________________
> 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

--
mailto:email@hidden
tel: +1 408 974 4056

__________________________________________________________________________
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
__________________________________________________________________________



 _______________________________________________
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: Find out all IOProcs attached to an Audio device in a Process (From: Simon Liu <email@hidden>)

  • Prev by Date: Re: AUGraphGetCPULoad() info?
  • Next by Date: Re: Find out all IOProcs attached to an Audio device in a Process
  • Previous by thread: Re: Find out all IOProcs attached to an Audio device in a Process
  • Next by thread: Re: Find out all IOProcs attached to an Audio device in a Process
  • Index(es):
    • Date
    • Thread