fix pcm_seek() to inline

This commit is contained in:
nu774 2013-10-29 19:21:34 +09:00
parent b159a7b095
commit 3aa2787e34
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ uint32_t bitcount(uint32_t bits)
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;
}