+/*
+ * Copyright (C) 2013 nu774
+ * For conditions of distribution and use, see copyright notice in COPYING
+ */
#ifndef PCM_READER_H
#define PCM_READER_H
int pcm_read(pcm_io_context_t *io, void *buffer, uint32_t size);
int pcm_skip(pcm_io_context_t *io, int64_t count);
-static int pcm_seek(pcm_io_context_t *io, int64_t off, int whence)
+static inline int pcm_seek(pcm_io_context_t *io, int64_t off, int whence)
{
return io->vtbl->seek ? io->vtbl->seek(io->cookie, off, whence) : -1;
}
pcm_reader_t *pcm_open_sint16_converter(pcm_reader_t *reader);
+pcm_reader_t *extrapolater_open(pcm_reader_t *reader);
+
#endif