remove bloat

This commit is contained in:
Andrew Kelley 2015-07-16 00:27:22 -07:00
parent 454fab0ffb
commit 5f2581ce2c
2 changed files with 0 additions and 15 deletions

View file

@ -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)
{

View file

@ -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);