summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-01 13:49:22 -0500
committerXANTRONIX Development2022-02-01 13:49:22 -0500
commitc801d7da7935731dd71fde695eb8ee8419c71d03 (patch)
tree9436f5bb4a9f1eed18db75bf0fe3b8609541ee67 /include/xas
parent6391c03277dbe0aae6bae4c24b936ce2becf69c1 (diff)
downloadxas-c801d7da7935731dd71fde695eb8ee8419c71d03.tar.gz
xas-c801d7da7935731dd71fde695eb8ee8419c71d03.tar.bz2
xas-c801d7da7935731dd71fde695eb8ee8419c71d03.zip
Implement xas_riff_file_open()
Implement xas_riff_file_open() to open files for reading; implement a RIFF header reader to parse and validate a header, and to extract PCM sample metadata requisite to process a stream
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/riff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xas/riff.h b/include/xas/riff.h
index 6e097c3..823a9ae 100644
--- a/include/xas/riff.h
+++ b/include/xas/riff.h
@@ -55,4 +55,7 @@ xas_audio_stream *xas_riff_file_new(const char *path,
size_t channels,
int flags);
+xas_audio_stream *xas_riff_file_open(const char *path,
+ int flags);
+
#endif /* _XAS_RIFF_H */