• 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: OpenAL and file size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenAL and file size


  • Subject: Re: OpenAL and file size
  • From: Chunk 1978 <email@hidden>
  • Date: Sun, 31 Jan 2010 15:56:31 -0500

oh i see.  i have to do that myself.  since i'm new at audio
programming, i just assumed that the point of Extended Audio File was
to load and play a large audio file piecemeal - that it did it for me
as part of the framework.

can you refer to me to samples or appropriate documentation so that i
can learn how to accomplish this?  i'm thinking it would be ideal to
supply my code with a file size limit, so that if a particular sound
file is larger than to only play that file in stages.


On Sun, Jan 31, 2010 at 3:27 PM, David Duncan <email@hidden> wrote:
> On Jan 31, 2010, at 10:48 AM, Chunk 1978 wrote:
>
>> i'm under the impression that i currently am using extended audio file
>> to read the file's data.  can you confirm based on the .m that was
>> attached in my previous post?
>
> Your using ExtAudio file, but thats not really the important point of what I said - you need to load the file piecemeal rather than in its entirety as you are currently doing. Load a few seconds of audio at a time, split those few seconds into smaller segments, and when a particular segment finishes playing, load another segment until you've gone through the entire file.
> --
> Reality is what, when you stop believing in it, doesn't go away.
> Failure is not an option. It is a privilege reserved for those who try.
>
> David Duncan
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: OpenAL and file size
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Detect Tap on Word in UILabel?
  • Next by Date: Re: Tabbing between cells in a complex control
  • Previous by thread: Re: Tabbing between cells in a complex control
  • Next by thread: Re: OpenAL and file size
  • Index(es):
    • Date
    • Thread