Skip to content

Remove Null host - #1386

Open
Marco-Farruggio wants to merge 2 commits into
RustAudio:masterfrom
Marco-Farruggio:remove-null-host
Open

Marco-Farruggio wants to merge 2 commits into
RustAudio:masterfrom
Marco-Farruggio:remove-null-host

Conversation

@Marco-Farruggio

Copy link
Copy Markdown
Contributor

Remove the null host, add a compilation error on unsupported targets, and updated the documentation. To me expecting cpal to compile on a target with no audio capabilities is like expecting a GUI library to compile on a target with no display server, which should really be a build error. This also means its less clutter in the codebase which is always a plus.

Closes #1366

@Marco-Farruggio

Copy link
Copy Markdown
Contributor Author

Related: I think #571 can be closed because WASI doesn't support audio, and the proposed wasi-media isn't near starting

This branch has not been deployed

No deployments
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.

Null host shouldn't exist when a Custom host is present

1 participant