summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-01 14:27:04 -0500
committerXANTRONIX Development2022-02-01 14:27:04 -0500
commitf20a98aa7a2f418167d884df4da243986ba601ec (patch)
tree835bbefe3d8a4d178d2ec5d25b89c3be810d43c2 /include
parentf502d1a5193760c3e16f170af2e07f0a0ba94784 (diff)
downloadxas-f20a98aa7a2f418167d884df4da243986ba601ec.tar.gz
xas-f20a98aa7a2f418167d884df4da243986ba601ec.tar.bz2
xas-f20a98aa7a2f418167d884df4da243986ba601ec.zip
Implement xas_riff_open_fd()
Implement xas_riff_open_fd() to allow readonly access to a PCM stream beginning with a valid RIFF header
Diffstat (limited to 'include')
-rw-r--r--include/xas/riff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xas/riff.h b/include/xas/riff.h
index 220eea2..ca78af1 100644
--- a/include/xas/riff.h
+++ b/include/xas/riff.h
@@ -57,4 +57,6 @@ xas_audio_stream *xas_riff_new_file(const char *path,
xas_audio_stream *xas_riff_open_file(const char *path, int flags);
+xas_audio_stream *xas_riff_open_fd(int fd);
+
#endif /* _XAS_RIFF_H */