Skip to content

Conversation

@andybee
Copy link

@andybee andybee commented Feb 26, 2014

Several years later, I really should get around to submitting this as a pull request!

I've added a hintForMimeType: method which returns an appropriate AudioFileTypeID hint for a valid audio file format MIME type, as suggested in the current codebase comments. Also modified handleReadFromStream:eventType: to utilise this new method.

I retained the old hintForFileExtension: method in the code base as it is perfectly functional and, in some cases, may be preferred to using the MIME type detection.

…ypeID hint for a valid audio file format MIME type. Modified handleReadFromStream:eventType: to utilise this new method. Retained the old hintForFileExtension: method in the code base as it is perfectly functional and, in some cases, may be preferred to using the MIME type detection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant