• 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
Basic Description
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic Description


  • Subject: Basic Description
  • From: "Saad Nader" <email@hidden>
  • Date: Mon, 17 Nov 2008 11:34:26 -0800
  • Thread-topic: Basic Description

Hey all,

 

The audio captured from my microphone doesn’t seem to playback.  I have an intermediate formant that I convert to.  Here’s the Basic Description:

 

      memset(&GVIVoiceFormat, 0, sizeof(AudioStreamBasicDescription));

      GVIVoiceFormat.mSampleRate = (Float64)GV_SAMPLES_PER_SECOND;

      GVIVoiceFormat.mFormatID = kAudioFormatLinearPCM;

      GVIVoiceFormat.mFormatFlags = kAudioFormatFlagsNativeEndian|kAudioFormatFlagIsSignedInteger|kAudioFormatFlagIsPacked;

      GVIVoiceFormat.mBytesPerPacket = GV_BYTES_PER_SAMPLE;

      GVIVoiceFormat.mFramesPerPacket = 1;

      GVIVoiceFormat.mBytesPerFrame = GV_BYTES_PER_SAMPLE;

      GVIVoiceFormat.mChannelsPerFrame = 1;

      GVIVoiceFormat.mBitsPerChannel = GV_BITS_PER_SAMPLE;

 

Is this format OK to use?  It seems like the AudioConverter does not complain about this format.  I haven’t got any initialization errors, nor any errors during the conversion.

 

Any Ideas?

 

 

Thanks,

------------------

Saad Nader

Middlware Engineer

Powered By Gamespy

 

 _______________________________________________
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: Basic Description
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Using the default output as an input to an audio unit
  • Next by Date: Re: clocks
  • Previous by thread: Any Initial Silence for Internet-Distributed Music?
  • Next by thread: Re: Basic Description
  • Index(es):
    • Date
    • Thread