This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/util/jukebox/format.c

10 lines
223 B
C
Raw Normal View History

#include "./format.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
bool jukebox_format_valid(const jukebox_format_t* format) {
return format != NULL && format->sample_rate > 0 && format->channels > 0;
}