We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4200

Summary: opus support
Product: SDL_mixer Reporter: Ozkan Sezer <sezeroz>
Component: miscAssignee: Ozkan Sezer <sezeroz>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.3   
Hardware: All   
OS: All   
Attachments: opus.patch
android makefiles for opus support

Description Ozkan Sezer 2018-06-15 00:35:56 UTC
Created attachment 3262 [details]
opus.patch

Is there an interest in adding Opus support to SDL_mixer?  If
there is, please review the attached patch, and if it is OK I
can push it.  It works for me on my linux so far.
Comment 1 Ryan C. Gordon 2018-06-15 00:57:51 UTC
This looks good to me. Commit it!
Comment 2 Sam Lantinga 2018-06-15 03:19:23 UTC
Looks good, go for it!
Comment 3 Ozkan Sezer 2018-06-15 05:35:57 UTC
Pushed: http://hg.libsdl.org/SDL_mixer/rev/a7dee77dd60f

Will try adding windows and osx prebuilt libs later.
Comment 4 Ozkan Sezer 2018-06-15 12:24:54 UTC
Added external opus and opusfile sources and windows and macosx builds:
http://hg.libsdl.org/SDL_mixer/rev/2515d1444557

Integration into the Visual Studio and Xcode project files needs doing
by someone else.  (An Android.mk needs adding to opus/opusfile source
trees too, didn't bother myself doing that either.)
Comment 5 Ozkan Sezer 2018-06-16 12:00:36 UTC
OK, I handled the Visual Studio and Xcode project files:
they work for me (TM).

I can _not_ do anything about the Xcode-iOS and Android
stuff at all: leaving those to you guys.
Comment 6 Ozkan Sezer 2018-10-07 12:57:20 UTC
Created attachment 3352 [details]
android makefiles for opus support

Sam:  Does the attached patch for Android opus support work?
If yes, I can push.