From d6e7e04edb3e2049eb9bd6632f06480ba2e7b848 Mon Sep 17 00:00:00 2001 From: Taylor Holberton Date: Thu, 6 Apr 2017 23:04:20 -0700 Subject: added limits for frames and channels --- src/limits.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/limits.c (limited to 'src/limits.c') diff --git a/src/limits.c b/src/limits.c new file mode 100644 index 0000000..25bd352 --- /dev/null +++ b/src/limits.c @@ -0,0 +1,12 @@ +#include + +const struct tinyalsa_unsigned_interval tinyalsa_channels_limit = { + .max = TINYALSA_CHANNELS_MAX, + .min = TINYALSA_CHANNELS_MIN +}; + +const struct tinyalsa_unsigned_interval tinyalsa_frames_limit = { + .max = TINYALSA_FRAMES_MAX, + .min = TINYALSA_FRAMES_MIN +}; + -- cgit v1.2.3