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

OpenAL and file size


  • Subject: OpenAL and file size
  • From: Chunk 1978 <email@hidden>
  • Date: Sun, 31 Jan 2010 12:03:47 -0500

i've tried loading a 6MB .mp3 file on my iPhone with OpenAL, but my
app crashes / receives low memory warning before it's loaded with the
following message:

"Program received signal:  “0”. warning: check_safe_call: could not
restore current frame."

i've tried using instruments to see how much space the file was
allocating and was surprised to see that the 6MB .mp3 files was
allocating close to 100MB of memory.  i believe this is because .mp3s
are compressed and openAL uncompresses files.  how is it possible to
load a file this size into OpenAL on the iPhone.  should the file be
converted?
 _______________________________________________
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: OpenAL and file size
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Use of AudioQueue buffers in case of sound synthesis
  • Next by Date: Re: Use of AudioQueue buffers in case of sound synthesis
  • Previous by thread: kCFRunLoopCommonModes
  • Next by thread: Re: OpenAL and file size
  • Index(es):
    • Date
    • Thread