aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 12:22:43 -0400
committerTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 12:22:43 -0400
commitc01d4a386cfc5997f877ae44712ea6304e8756bd (patch)
treea0acd93421bf4b2c4e9585b2847b969330e261a8 /include
parent4f556060a663ba83c9db41df019d29e257f7b473 (diff)
added support for more signed types
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/asoundlib.h12
1 files changed, 8 insertions, 4 deletions
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 */