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 - opus support
Summary: opus support
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.0.3
Hardware: All All
: P2 normal
Assignee: Ozkan Sezer
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-15 00:35 UTC by Ozkan Sezer
Modified: 2018-10-07 12:57 UTC (History)
0 users

See Also:


Attachments
opus.patch (29.23 KB, patch)
2018-06-15 00:35 UTC, Ozkan Sezer
Details | Diff
android makefiles for opus support (3.68 KB, patch)
2018-10-07 12:57 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.