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
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

10 lines
223 B
C

#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;
}