• 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
AudioFileOpenWithCallbacks() bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioFileOpenWithCallbacks() bug


  • Subject: AudioFileOpenWithCallbacks() bug
  • From: "Andreas Falkenhahn" <email@hidden>
  • Date: Wed, 17 Oct 2007 23:50:53 +0200

Hi,

my question has already been discussed earlier. cf. here:
http://lists.apple.com/archives/coreaudio-api/2007/Feb/msg00057.html

The problem is that AudioFileOpenWithCallbacks() fails with a 'typ?' error
on mp3s that do not have an ID3 tag. As soon as I append an ID3v1 tag
to the file, it is successfully opened by AFOWC().

Now my question: Will this be fixed in Leopard? Otherwise I could implement
a workaround by calling AFOWC() twice: If the first try fails and I see from
the ReadProc that the codec is seeking to 128 before EOF (the location of
a ID3v1 tag), I could simply set a flag, call AFOWC() a second time and have
AudioFile_GetSizeProc() return 128 bytes more, and have the ReadProc() return
a dummy ID3v1 tag from a static memory buffer. Then AFOWC() would be able
to load and play mp3s without a tag, too. But this is of course a little bit hacky,
so I'd like to know whether or not this issue will be fixed in Leopard, or if there's
something else I could do to make AFOWC() play 'tagless' mp3 files.

Tks

Andreas

 _______________________________________________
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: Re: AudioDevice Callback Frequency
  • Next by Date: Using MIDISend/MIDISendSysex for Line 6 USB Device
  • Previous by thread: Basic CoreMIDI setup (was Re: Coreaudio-api Digest, Vol 4, Issue 283)
  • Next by thread: Using MIDISend/MIDISendSysex for Line 6 USB Device
  • Index(es):
    • Date
    • Thread