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

layout name can be null #267

Open
krumelmonster opened this issue Jul 10, 2022 · 0 comments
Open

layout name can be null #267

krumelmonster opened this issue Jul 10, 2022 · 0 comments

Comments

@krumelmonster
Copy link

krumelmonster commented Jul 10, 2022

If a layout is not in builtin_channel_layouts, the corresponding char* SoundIoDevice::name will be NULL which should either be documented here:

const char *name;
or changed to a generic name like "unknown layout" here:
layout->name = NULL;

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

No branches or pull requests

1 participant