Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hintForMimeType: method #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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