• 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
Re: ExtAudioFileRead -- not reading enough frames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFileRead -- not reading enough frames


  • Subject: Re: ExtAudioFileRead -- not reading enough frames
  • From: Doug Wyatt <email@hidden>
  • Date: Fri, 10 Sep 2010 17:37:02 -0700

ExtendedAudioFile.h:

	@param		ioNumberFrames
					On entry, ioNumberFrames is the number of frames to be read from the file.
					On exit, it is the number of frames actually read. A number of factors may
					cause a fewer number of frames to be read, including the supplied buffers
					not being large enough, and internal optimizations. If 0 frames are
					returned, however, this indicates that end-of-file was reached.

Either your buffer list was only large enough for 440309 frames, or an optimization resulted in the read being reduced in size.

Doug

On Sep 10, 2010, at 17:33 , Edwards, Waverly wrote:

>
> Sorry, I need to add some clarification.  I only learned this week through another list member's posting that upon completion of
>
> result = ExtAudioFileRead(inExtAudFileRef, &framesToRead, bufList);
>
> framesToRead will have stored the number of frames actually read versus the number of frames requested.
> This is where I am getting a result of 440309 frames read, not 441000 as expected.  I am perplexed as to why
> there were only 440309 frames read.

 _______________________________________________
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: ExtAudioFileRead -- not reading enough frames
      • From: "Edwards, Waverly" <email@hidden>
References: 
 >ExtAudioFileRead -- not reading enough frames (From: "Edwards, Waverly" <email@hidden>)
 >RE: ExtAudioFileRead -- not reading enough frames (From: "Edwards, Waverly" <email@hidden>)

  • Prev by Date: RE: ExtAudioFileRead -- not reading enough frames
  • Next by Date: RE: ExtAudioFileRead -- not reading enough frames
  • Previous by thread: RE: ExtAudioFileRead -- not reading enough frames
  • Next by thread: RE: ExtAudioFileRead -- not reading enough frames
  • Index(es):
    • Date
    • Thread