• 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: Example playing and recording in memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Example playing and recording in memory


  • Subject: Re: Example playing and recording in memory
  • From: William Stewart <email@hidden>
  • Date: Wed, 15 Jun 2005 11:57:46 -0700

This should be easy to achieve...

Sound Input is coming from the AUHAL's Render method (bus 1); this gets input for each I/O cycle into an AudioBufferList
Sound Output is sent to the RenderCallback of AUHAL's Render method (bus 0); this sends output for each I/O cycle copying data to an AudioBufferList - see the DefaultOutput sample in the SDK


There's a tech note at http://developer.apple.com/audio that does this play through in a very generalised manner.

Bill

On 14/06/2005, at 1:49 PM, Jason Doiron wrote:

From: Jason Doiron <email@hidden>
Date: June 14, 2005 5:41:29 PM ADT
To: email@hidden
Subject: Example playing and recording in memory

I was just wondering if anyone could help me figure out how to switch the two core audio examples in /Developer/Examples/ CoreAudio/Services/AudioFileTools to store the sound being recorded in memory rather than writing to a file and then play the file back from memory rather than a file. The sounds I will be recording are very short, under one minute, so it makes more sense to have them stored in memory rather than on the harddrive.

Any help with this issue would be greatly appreciated.


Jason Doiron Research and Development Lead
 _______________________________________________
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
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: 
 >Example playing and recording in memory (From: Jason Doiron <email@hidden>)

  • Prev by Date: Re: More Multiple Outputs/Busses Questions
  • Next by Date: Re: Component on top of a driver?
  • Previous by thread: Example playing and recording in memory
  • Next by thread: Component on top of a driver?
  • Index(es):
    • Date
    • Thread