fix pcm_seek() to inline
authornu774 <honeycomb77@gmail.com>
Tue, 29 Oct 2013 10:21:34 +0000 (19:21 +0900)
committernu774 <honeycomb77@gmail.com>
Tue, 29 Oct 2013 10:24:29 +0000 (19:24 +0900)
src/pcm_reader.h

index b9490a49e6f08faabcd0f6a9c2d6695216988619..ee062aae1d80106da526f1c66702160b9db3411a 100644 (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;
 }
This page took 0.01035 seconds and 4 git commands to generate.