diff options
author | waker <wakeroid@gmail.com> | 2009-07-05 21:36:02 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-07-05 21:36:02 +0200 |
commit | a55523d7f3758d1fa46b8f8d063c57229db27bf3 (patch) | |
tree | 7c3dcc5cff415dac6d3a21857a407fddef210366 /codec.h | |
parent | 19208d2ef24773b6f50fc431628a575eae740a54 (diff) |
[wip] multithreading
Diffstat (limited to 'codec.h')
-rw-r--r-- | codec.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,12 +8,14 @@ typedef struct { int channels; int dataSize; int samplesPerSecond; + float duration; } fileinfo_t; typedef struct codec_s { fileinfo_t info; int (*init) (const char *fname); void (*free) (void); + // player is responsible for starting next song if -1 is returned int (*read) (char *bytes, int size); } codec_t; |