aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kasten2014-07-15 12:52:31 -0500
committerGlenn Kasten2014-07-15 12:53:18 -0500
commit8863816dc5659a1e4678d17906c90844264d1588 (patch)
tree6e9b8e95febd309a4905254e7150ca499b9e9daf /include/tinyalsa
parent7a0b995d87f6b08d6370f36e48f056069d61aa12 (diff)
downloadplatform-external-tinyalsa-8863816dc5659a1e4678d17906c90844264d1588.tar.gz
platform-external-tinyalsa-8863816dc5659a1e4678d17906c90844264d1588.tar.xz
platform-external-tinyalsa-8863816dc5659a1e4678d17906c90844264d1588.zip
Add PCM_FORMAT_INVALID constant
Change-Id: I3fe393dfd666431b8e926144f3781eaf753d9daf
Diffstat (limited to 'include/tinyalsa')
-rw-r--r--include/tinyalsa/asoundlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h
index 0c4c7af..75e5cda 100644
--- a/include/tinyalsa/asoundlib.h
+++ b/include/tinyalsa/asoundlib.h
@@ -70,6 +70,7 @@ struct pcm;
70 70
71/* Bit formats */ 71/* Bit formats */
72enum pcm_format { 72enum pcm_format {
73 PCM_FORMAT_INVALID = -1,
73 PCM_FORMAT_S16_LE = 0, /* 16-bit signed */ 74 PCM_FORMAT_S16_LE = 0, /* 16-bit signed */
74 PCM_FORMAT_S32_LE, /* 32-bit signed */ 75 PCM_FORMAT_S32_LE, /* 32-bit signed */
75 PCM_FORMAT_S8, /* 8-bit signed */ 76 PCM_FORMAT_S8, /* 8-bit signed */