diff options
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index 00f0f64733..cf0324b496 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -128,8 +128,8 @@ struct codec_api { | |||
128 | void* (*get_codec_memory)(long *size); | 128 | void* (*get_codec_memory)(long *size); |
129 | /* Insert PCM data into audio buffer for playback. Playback will start | 129 | /* Insert PCM data into audio buffer for playback. Playback will start |
130 | automatically. */ | 130 | automatically. */ |
131 | bool (*pcmbuf_insert)(char *data, long length); | 131 | bool (*pcmbuf_insert)(const char *data, size_t length); |
132 | bool (*pcmbuf_insert_split)(void *ch1, void *ch2, long length); | 132 | bool (*pcmbuf_insert_split)(const void *ch1, const void *ch2, size_t length); |
133 | /* Set song position in WPS (value in ms). */ | 133 | /* Set song position in WPS (value in ms). */ |
134 | void (*set_elapsed)(unsigned int value); | 134 | void (*set_elapsed)(unsigned int value); |
135 | 135 | ||