• 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: Streaming audio to built-in audio device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Streaming audio to built-in audio device


  • Subject: Re: Streaming audio to built-in audio device
  • From: Bob Lang <email@hidden>
  • Date: Sat, 5 May 2007 08:58:17 +0100

Hi

If you want to convert Apple's pull model into a push model, then you need to create a circular buffer between the two models. You need to push your samples into the buffer to fill it up, while Core Audio pulls out data from the buffer to empty it. I've done this for a Java replacement mixer so I know it can be made to work.

Bob
--
On 4 May 2007, at 23:17, B. Mitchell Loebel wrote:

Hello Mark:

Thank you.  Permit me to structure my question better:

I write C. I do not write Objective C or C++.

One of the problems I have with Mac programming is that it seems as if the Apple coding modality is for me to fully describe my sound source and then they want to "pull" my data from my source, e.g. file or buffer. That means I have to go through a large learning curve to understand their nomenclature. I don't have the time or desire to go through that task. I simple want to know the API to the Apple D/A which connects to their built-in speakers so that I can "push" my PCM samples of a given width (16 bits) and at a specific sample rate 16Ksamples/sec ... no more, no less. In essence then, I need to cut through all the Apple whistles and bells to work at a low level of code. I did check the reference you suggested carefully and I didn't see anything that fit the problem I described above. Ideas please ?????


At 01:54 PM 5/4/2007 -0700, Mark Pauley wrote:
Have you taken a look at

http://developer.apple.com/documentation/MusicAudio/Conceptual/ CoreAudioOverview/index.html

?

_Mark

On May 4, 2007, at 1:34 PM, B. Mitchell Loebel wrote:

Hello:

I have an app that creates a PCM stream. Where can I find the API
(and perhaps some examples) to interface with the built-in D/A to
send my audio to the built-in speakers please?

---
B. Mitchell Loebel, Executive Director
408 425-9920

The Tech Startup Connection
(formerly The PARALLEL Processing Connection)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

---
B. Mitchell Loebel, Executive Director 408 425-9920


The Tech Startup Connection
(formerly The PARALLEL Processing Connection)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blueyonder.co.uk


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


  • Follow-Ups:
    • Re: Streaming audio to built-in audio device
      • From: David Duncan <email@hidden>
References: 
 >Streaming audio to built-in audio device (From: "B. Mitchell Loebel" <email@hidden>)
 >Re: Streaming audio to built-in audio device (From: Mark Pauley <email@hidden>)
 >Re: Streaming audio to built-in audio device (From: "B. Mitchell Loebel" <email@hidden>)

  • Prev by Date: Re: Streaming audio to built-in audio device
  • Next by Date: Re: Streaming audio to built-in audio device
  • Previous by thread: Re: Streaming audio to built-in audio device
  • Next by thread: Re: Streaming audio to built-in audio device
  • Index(es):
    • Date
    • Thread