• 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: audio file bug in AudioUnitHosting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: audio file bug in AudioUnitHosting


  • Subject: Re: audio file bug in AudioUnitHosting
  • From: David Duncan <email@hidden>
  • Date: Sun, 4 Jan 2004 13:21:10 -0500

Basically a complete fix would likely involve replacing CFStringRefs
with CFURLRefs throughout AudioFileChooser.cpp where appropriate, and
changing SelectedFile() to take a CFURLRef instead.

Or perhaps better (and simpler) would be to store them as FSRefs. After
all, that's what you the code already starts with in
CAFileChooser::SimpleReceiveDrag(), and then it gets converted
(unsuccessfully) back to an FSRef later on when it actually needs to be
used, so it seems silly to not just keep it as an FSRef all the time (and
FSRefs don't have the maximum path length limitations that CFURLRefs
unfortunately have).

Well, I went and too the liberty of converting all those CFStringRefs to FSRefs and have published the updated files on my iDisk. You can download the archive with the updated files (AudioFileChooser & AudioUnitHosting .cpp/.h) from here:
<http://homepage.mac.com/rincewind/.cv/rincewind/Public/ AudioUnitHostingUpdates.zip-link.zip>
--
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
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: audio file bug in AudioUnitHosting (From: David Duncan <email@hidden>)

  • Prev by Date: Re: audio file bug in AudioUnitHosting
  • Next by Date: Re: ClassInfo save and restore in Reverb AU
  • Previous by thread: Re: audio file bug in AudioUnitHosting
  • Next by thread: Re: ClassInfo save and restore in Reverb AU
  • Index(es):
    • Date
    • Thread