From f20a98aa7a2f418167d884df4da243986ba601ec Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 1 Feb 2022 14:27:04 -0500 Subject: Implement xas_riff_open_fd() Implement xas_riff_open_fd() to allow readonly access to a PCM stream beginning with a valid RIFF header --- include/xas/riff.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/xas') 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 */ -- cgit v1.2.3