• 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
Recorded mic input plays too fast
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recorded mic input plays too fast


  • Subject: Recorded mic input plays too fast
  • From: Walantis Giosis <email@hidden>
  • Date: Thu, 13 Sep 2007 07:05:51 +0200

Hi,

I'm recording built-in mic input with coreaudio based on apple examples. The input
is converted with an audio converter and written to a quicktime file. Everything works
except that the playback of the audio result sounds like if donald duck spoke into the mic.
what is the point ? I've attached my asbd's for debugging:


---------------------------------
*** fDeviceFormat *** Received with AudioUnitGetProperty
sample rate   :44100.000000
format id     :0x6c70636d, 6C70636D
format flags  :9
bytes/packet  :8
frames/packet :1
bytes/frame   :8
channels/frame:2
bits/channel  :32
reserved      :0
---------------------------------
*** fOutputFormat *** Manually built
sample rate   :44100.000000
format id     :0x6c70636d, 6C70636D
format flags  :29
bytes/packet  :4
frames/packet :1
bytes/frame   :4
channels/frame:2
bits/channel  :32
reserved      :0
---------------------------------
*** outputASBD *** Manually built
sample rate   :44100.000000
format id     :0x6c70636d, 6C70636D
format flags  :9
bytes/packet  :8
frames/packet :1
bytes/frame   :8
channels/frame:2
bits/channel  :32
reserved      :0


I created the audio converter with fDeviceFormat as input and outputASBD as output.
I use AudioConverterFillComplexBuffer and AddMediaSample2 to convert and store the samples.

I read a lot in various mailing lists but still did not succeed. Please give me an advice...

Shall I post the whole code (if it helps) ?

TIA

wg
 _______________________________________________
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: Recorded mic input plays too fast
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Playing of the same audiofile n times...
  • Next by Date: Audio bits from CD
  • Previous by thread: Re: Playing of the same audiofile n times...
  • Next by thread: Re: Recorded mic input plays too fast
  • Index(es):
    • Date
    • Thread