aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordvdli <70133153+dvdli@users.noreply.github.com>2021-03-15 15:15:32 +0800
committerGitHub <noreply@github.com>2021-03-15 15:15:32 +0800
commitc288f6e40e1b7fec05e91009dc6b7ff682aeb53d (patch)
treed696685895605c6752e4363dd00c21b205d22194 /include
parentd7364cd3aebd62f8527c986afa7132b1f5271ed5 (diff)
parenta36d521c328b16b53360a016aa543491d0aad05e (diff)
Merge pull request #202 from dvdli/tinyalsa-float-dev
floating-point PCM support
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/pcm.h4
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
};