mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2024-12-22 22:55:28 +00:00
remove bloat
This commit is contained in:
parent
454fab0ffb
commit
5f2581ce2c
|
@ -374,18 +374,6 @@ const struct SoundIoChannelLayout *soundio_channel_layout_get_builtin(int index)
|
|||
return &builtin_channel_layouts[index];
|
||||
}
|
||||
|
||||
void soundio_debug_print_channel_layout(const struct SoundIoChannelLayout *layout) {
|
||||
if (layout->name) {
|
||||
fprintf(stderr, "%s\n", layout->name);
|
||||
} else {
|
||||
fprintf(stderr, "%s", soundio_get_channel_name(layout->channels[0]));
|
||||
for (int i = 1; i < layout->channel_count; i += 1) {
|
||||
fprintf(stderr, ", %s", soundio_get_channel_name(layout->channels[i]));
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
int soundio_channel_layout_find_channel(
|
||||
const struct SoundIoChannelLayout *layout, enum SoundIoChannelId channel)
|
||||
{
|
||||
|
|
|
@ -409,9 +409,6 @@ const char *soundio_get_channel_name(enum SoundIoChannelId id);
|
|||
int soundio_channel_layout_builtin_count(void);
|
||||
const struct SoundIoChannelLayout *soundio_channel_layout_get_builtin(int index);
|
||||
|
||||
// TODO remove this API or have it write to a `char *`?
|
||||
void soundio_debug_print_channel_layout(const struct SoundIoChannelLayout *layout);
|
||||
|
||||
int soundio_channel_layout_find_channel(
|
||||
const struct SoundIoChannelLayout *layout, enum SoundIoChannelId channel);
|
||||
|
||||
|
|
Loading…
Reference in a new issue