• 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: Capturing currently played audio using CoreAudio on Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capturing currently played audio using CoreAudio on Mac


  • Subject: Re: Capturing currently played audio using CoreAudio on Mac
  • From: "Paul Sanders" <email@hidden>
  • Date: Tue, 20 Apr 2010 16:19:07 +0100

> Can you provide some MTCoreAudio based test code i could debug here?
 
'Fraid not, we don't use it.  But there's something called AudioMonitor.app in the MTCoreAudio distribution and with a bit of luck you can debug that and put a breakpoint on MTCoreAudio's listener proc (I believe it has one) and see if it's hit when the JACK server is stopped.  I have found AudioMonitor.app and MTCoreAudio useful development aids in general.
 
> It [handling a sample rate change from a connected device] is [tricky], and i don't think it make sense. JACK native applications (the one that access JACK API directly) cannot handle a SR change anyway.
 
I was thinking more in terms of hiding the event entirely be performing a samplerate conversion, if needed, at the point where you interface with the device.  But I doubt this fits in with your low-latency 'pass through' approach.  We might do this though, if we ever feel the need to handle another app changing the samplerate of a device we are talking to.  The code is mostly set up for that but on the recording side it would introduce a big glitch during the transition and on the playback side you can just stop and restart playback to clear the condition so, as yet, we haven't bothered.

>
http://developer.apple.com/mac/library/documentation/MusicAudio/Conceptual/CoreAudioOverview/ARoadmaptoCommonTasks/ARoadmaptoCommonTasks.html#//apple_ref/doc/uid/TP40003577-CH6-SW14

> http://developer.apple.com/mac/library/qa/qa2007/qa1526.html

OK, thanks.  I didn't know about that, although on my machine it seems to think, in terms of the number of channels in the aggregate device, that 2 + 2 = 2.
 
Paul Sanders.
 
 _______________________________________________
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: Capturing currently played audio using CoreAudio on Mac
      • From: Aron Homberg <email@hidden>
References: 
 >Re: Capturing currently played audio using CoreAudio on Mac (From: Stéphane Letz <email@hidden>)
 >Re: Capturing currently played audio using CoreAudio on Mac (From: "Paul Sanders" <email@hidden>)
 >Re: Capturing currently played audio using CoreAudio on Mac (From: Stéphane Letz <email@hidden>)
 >Re: Capturing currently played audio using CoreAudio on Mac (From: "Paul Sanders" <email@hidden>)
 >Re: Capturing currently played audio using CoreAudio on Mac (From: "Paul Sanders" <email@hidden>)
 >Re: Capturing currently played audio using CoreAudio on Mac (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: Audio Device Driver
  • Next by Date: Re: Audio Device Driver
  • Previous by thread: Re: Capturing currently played audio using CoreAudio on Mac
  • Next by thread: Re: Capturing currently played audio using CoreAudio on Mac
  • Index(es):
    • Date
    • Thread