Skip to content

Backport 2ship streamed audio#5457

Merged
Malkierian merged 5 commits intoHarbourMasters:developfrom
louist103:audioUpdate
Jun 28, 2025
Merged

Backport 2ship streamed audio#5457
Malkierian merged 5 commits intoHarbourMasters:developfrom
louist103:audioUpdate

Conversation

@louist103
Copy link
Contributor

@louist103 louist103 commented Apr 26, 2025

Supersedes #4591
Backport streamed (MP3, WAV, etc..) audio support from 2ship.
Since custom audio support already exists in SoH, this PR is smaller than 2ships. It only includes the XML audio importer, and changes to the load order for sequences and sound fonts.
WAV, MP3, FLAC, and OGG are currently supported. WAV, MP3, and FLAC, are decoded by dr_libs and don't require the user to install any additional dependencies. OGG requires the user to install libogg, and libvorbis. Opus requires libopus, libopusfile.
Blocked by #5454

Build Artifacts

# Conflicts:
#	.github/workflows/apt-deps.txt
#	soh/CMakeLists.txt
#	soh/soh/resource/importer/AudioSampleFactory.h
#	soh/soh/resource/importer/AudioSequenceFactory.cpp
#	soh/soh/resource/importer/AudioSequenceFactory.h
#	soh/soh/resource/importer/AudioSoundFontFactory.h
Copy link
Contributor

@Malkierian Malkierian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Future isn't fun to use yet, but all the new functionality works (amazingly well), and custom sequences still work.

@Malkierian Malkierian merged commit e15f8d3 into HarbourMasters:develop Jun 28, 2025
6 checks passed
ProverbialPennance added a commit to ProverbialPennance/just-one-more-repo that referenced this pull request Jun 28, 2025
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
* Bring over changes from 2ship

# Conflicts:
#	.github/workflows/apt-deps.txt
#	soh/CMakeLists.txt
#	soh/soh/resource/importer/AudioSampleFactory.h
#	soh/soh/resource/importer/AudioSequenceFactory.cpp
#	soh/soh/resource/importer/AudioSequenceFactory.h
#	soh/soh/resource/importer/AudioSoundFontFactory.h

* Update xml format

* Format and fix mixer for Windows

* Fixes for new LUS

* Good ole clang-format
@briaguya0 briaguya0 mentioned this pull request Sep 9, 2025
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.

2 participants