diff options
author | dvdli <dvdli@google.com> | 2021-02-22 17:24:30 +0800 |
---|---|---|
committer | dvdli <dvdli@google.com> | 2021-02-22 17:34:58 +0800 |
commit | b1b3582772dae244e6e3569ca6c0cc5780ffb8f3 (patch) | |
tree | be70b84ce4ba9c1e9fbcc14f86c19e0471d9e05f /include | |
parent | d7364cd3aebd62f8527c986afa7132b1f5271ed5 (diff) |
support float config and float wave file playback
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/pcm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tinyalsa/pcm.h b/include/tinyalsa/pcm.h index b40550c..5c11e2a 100644 --- a/include/tinyalsa/pcm.h +++ b/include/tinyalsa/pcm.h @@ -178,6 +178,10 @@ enum pcm_format { PCM_FORMAT_S24_3BE, /** Signed, 32-bit, big endian */ PCM_FORMAT_S32_BE, + /** 32-bit float, little endian */ + PCM_FORMAT_FLOAT_LE, + /** 32-bit float, big endian */ + PCM_FORMAT_FLOAT_BE, /** Max of the enumeration list, not an actual format. */ PCM_FORMAT_MAX }; |