diff options
author | dvdli <70133153+dvdli@users.noreply.github.com> | 2021-03-15 15:15:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 15:15:32 +0800 |
commit | c288f6e40e1b7fec05e91009dc6b7ff682aeb53d (patch) | |
tree | d696685895605c6752e4363dd00c21b205d22194 /include | |
parent | d7364cd3aebd62f8527c986afa7132b1f5271ed5 (diff) | |
parent | a36d521c328b16b53360a016aa543491d0aad05e (diff) |
Merge pull request #202 from dvdli/tinyalsa-float-dev
floating-point PCM support
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 }; |