• 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
sending sound to device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sending sound to device


  • Subject: sending sound to device
  • From: "Bill Cunning" <email@hidden>
  • Date: Tue, 27 Jun 2006 12:18:30 -0400
  • Thread-topic: sending sound to device

Hi All

 

I will admit I am a mac newbie, coming from the windows world.

 

Right up front, I am a newbie coming from the windows world, but I have read all the pertinent information and documentation I could find to no avail.

 

Our application will be taking PCM voice data at a known sample rate and playing it out through a user selected device (headphones, etc).

I managed to adapt the capture code in ComplexPlayThru to get sound from a mic at the appropriate sample rate, but for the life of me I can not

Get the output working. If I use the output part of the ComplexPlaythru sample that uses a varispeed component the voice quality is tinny and otherwise very poor when

Input is captured at our default rate of 8k but I accept the default output sample rate of 41k. It gets even worse if I change the sample rate of the output device.

ComplexPlayThru does not work at all unless both sample rates are at the default 41k , so that is no help :<(

I have tried creating output just using an AudioUnit and doing the reverse of  tn2091 .. ie using element 0 instead of element 1 and each step returns no error,

But my callback never gets called.

 

This took about 3 days on windows, and I have been at it now for over two weeks on the Mac and have made no progress, and am starting to feel really dumb.

 

I guess my questions are:

Is it possible to do audio output without using the AUGraph model?

Is there a sample somewhere that actually does this ..

 

 

Thanks in advance

 

Bill

 

 

 

 

 

 _______________________________________________
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:
    • sample rate
      • From: "apple question" <email@hidden>
    • Re: sending sound to device
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: sin() optimization on PowerPC and Intel
  • Next by Date: Re: sin() optimization on PowerPC and Intel
  • Previous by thread: Re: render inNumberFrames vs. pre/postRender inNumberFrames
  • Next by thread: Re: sending sound to device
  • Index(es):
    • Date
    • Thread