libsoundio icon indicating copy to clipboard operation
libsoundio copied to clipboard

layout name can be null

Open krumelmonster opened this issue 3 years ago • 0 comments

If a layout is not in builtin_channel_layouts, the corresponding char* SoundIoDevice::name will be NULL which should either be documented here: https://github.com/andrewrk/libsoundio/blob/8ab36069123a8b38e247ace55f8a6b3e6ee14f5f/soundio/soundio.h#L307 or changed to a generic name like "unknown layout" here: https://github.com/andrewrk/libsoundio/blob/8ab36069123a8b38e247ace55f8a6b3e6ee14f5f/src/channel_layout.c#L435

krumelmonster avatar Jul 10 '22 11:07 krumelmonster