diff options
Diffstat (limited to 'apps/playback.h')
-rw-r--r-- | apps/playback.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/playback.h b/apps/playback.h index 6f3c4214a2..c9668bd9a2 100644 --- a/apps/playback.h +++ b/apps/playback.h | |||
@@ -35,6 +35,13 @@ | |||
35 | #define AFMT_REAL 0x0800 // Realaudio | 35 | #define AFMT_REAL 0x0800 // Realaudio |
36 | #define AFMT_UNKNOWN 0x1000 // Unknown file format | 36 | #define AFMT_UNKNOWN 0x1000 // Unknown file format |
37 | 37 | ||
38 | #define CODEC_SET_FILEBUF_WATERMARK 1 | ||
39 | #define CODEC_SET_FILEBUF_CHUNKSIZE 2 | ||
40 | #define CODEC_SET_FILEBUF_LIMIT 3 | ||
41 | |||
42 | /* Not yet implemented. */ | ||
43 | #define CODEC_SET_AUDIOBUF_WATERMARK 4 | ||
44 | |||
38 | struct codec_api { | 45 | struct codec_api { |
39 | off_t filesize; | 46 | off_t filesize; |
40 | off_t curpos; | 47 | off_t curpos; |
@@ -60,6 +67,8 @@ struct codec_api { | |||
60 | bool (*seek_buffer)(off_t newpos); | 67 | bool (*seek_buffer)(off_t newpos); |
61 | off_t (*mp3_get_filepos)(int newtime); | 68 | off_t (*mp3_get_filepos)(int newtime); |
62 | bool (*request_next_track)(void); | 69 | bool (*request_next_track)(void); |
70 | |||
71 | void (*configure)(int setting, void *value); | ||
63 | }; | 72 | }; |
64 | 73 | ||
65 | #endif | 74 | #endif |