Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Buffer and CoreAudio ?



Hello,

i am totally new to Audio.
I am seeking to find the best way to make a very simple application :
- I need to record audio then to have that sound as buffer
- I need to get that buffer and send it to another function i made with parameters.

Format :
- WAVE
8000 Khz
- 16 bits

My questions are:
#1 what is best to use CoreAudio or Quicktime ?
#2 Why is it so hard to get AudioStreamBasicDescription gAACFormat = {8000, kAudioFormatLinearPCM, kLinearPCMFormatFlagIsPacked | kLinearPCMFormatFlagIsSignedInteger, 2, 1, 2, 1, 16, 0}; informations relative to format options. Exemple, if i change number of channels size i get a fail in the file creation.
#3 i need to Set buffer ize but without success (i based my first try on CoreAudio sample source on Apple website)

Maybe these questions were already treated but i cannot find explicit answers.

thanks for your help



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden

References: 
 >RE: Bug in CoreAudio, Channel Names property? (From: "Alex Sheh" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.