• 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
writing streaming audio to File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

writing streaming audio to File


  • Subject: writing streaming audio to File
  • From: sheen mac <email@hidden>
  • Date: Mon, 30 Jul 2007 10:28:57 -0700 (PDT)

Hi All,

I am getting continuous audio data  from network  and I tried to save
it to file based on the RecordAudioToFile sample code.But it getting
crash wile saving.I got this report in Log.

Unable to restore previously selected frame:
Unable to restore previously selected frame:
Unable to restore previously selected frame:
Cannot access memory at address 0x4
Cannot access memory at address 0x4

Unable to disassemble objc_msgSend_rtp.


This is the Audio Stream basic description I am getting from network.I set
this format as kExtAudioFileProperty_ClientDataFormat for the audio file
input.

    fOutputFormat.mSampleRate = 44100;
    fOutputFormat.mFormatID = kAudioFormatLinearPCM;
    fOutputFormat.mFormatFlags = kAudioFormatFlagIsBigEndian | kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked;
    fOutputFormat.mBytesPerPacket = fOutputFormat.mBytesPerFrame = fDeviceFormat.mChannelsPerFrame * sizeof(SInt16);
    fOutputFormat.mFramesPerPacket = 1;
    fOutputFormat.mChannelsPerFrame = fDeviceFormat.mChannelsPerFrame;
    fOutputFormat.mBitsPerChannel = 16;

           Kindly help me.
 
                                                      Thanks In Advance,
                                                       Sheen
 


Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
 _______________________________________________
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

  • Prev by Date: what exactly is dvca?
  • Next by Date: Async USB audio output
  • Previous by thread: what exactly is dvca?
  • Next by thread: Async USB audio output
  • Index(es):
    • Date
    • Thread