diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2017-04-06 23:04:20 -0700 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2017-04-06 23:04:20 -0700 |
commit | d6e7e04edb3e2049eb9bd6632f06480ba2e7b848 (patch) | |
tree | 0823aaa0cf19aae4c5a842b1a8c229cccb0916c7 /src/limits.c | |
parent | f1080d33378a26b25647868c58db9c9aba0f3de2 (diff) |
added limits for frames and channels
Diffstat (limited to 'src/limits.c')
-rw-r--r-- | src/limits.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 <tinyalsa/limits.h> + +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 +}; + |