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

Support FMOD dynamic plugin loading #78

Merged
merged 8 commits into from
Mar 20, 2024

Conversation

GitGhillie
Copy link
Collaborator

Support FMOD dynamic plugin loading by giving the user the option to provide paths to the plugins to be loaded.

Tested with my Steam Audio experiments, in which case it looks a bit like:

        .add_plugins((
            DefaultPlugins,
            PhononPlugin,
            FmodPlugin::from(
                &[
                    "./assets/audio/demo_project/Build/Desktop/Master.bank",
                    "./assets/audio/demo_project/Build/Desktop/Master.strings.bank",
                    "./assets/audio/demo_project/Build/Desktop/Music.bank",
                ],
                &["./phonon_fmod.dll"],
            ),
        ))

Also reduces indentation level in the examples.

@GitGhillie GitGhillie requested a review from Salzian March 20, 2024 08:15
src/fmod_studio.rs Outdated Show resolved Hide resolved
src/fmod_plugin.rs Outdated Show resolved Hide resolved
src/fmod_plugin.rs Outdated Show resolved Hide resolved
Salzian
Salzian previously approved these changes Mar 20, 2024
@GitGhillie GitGhillie merged commit bba2400 into Salzian:main Mar 20, 2024
@GitGhillie GitGhillie deleted the plugin-support branch March 20, 2024 21:31
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