From c01d4a386cfc5997f877ae44712ea6304e8756bd Mon Sep 17 00:00:00 2001 From: Taylor Holberton Date: Sat, 1 Oct 2016 12:22:43 -0400 Subject: added support for more signed types --- include/tinyalsa/asoundlib.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h index 8c215ce..35d7457 100644 --- a/include/tinyalsa/asoundlib.h +++ b/include/tinyalsa/asoundlib.h @@ -66,12 +66,16 @@ struct pcm; /* Bit formats */ enum pcm_format { + PCM_FORMAT_S8 = 1, PCM_FORMAT_S16_LE = 0, - PCM_FORMAT_S32_LE, - PCM_FORMAT_S8, + PCM_FORMAT_S16_BE = 2, PCM_FORMAT_S24_LE, - - PCM_FORMAT_MAX, + PCM_FORMAT_S24_BE, + PCM_FORMAT_S24_3LE, + PCM_FORMAT_S24_3BE, + PCM_FORMAT_S32_LE, + PCM_FORMAT_S32_BE, + PCM_FORMAT_MAX }; /* Bitmask has 256 bits (32 bytes) in asound.h */ -- cgit v1.2.3