summaryrefslogtreecommitdiff
path: root/decoder_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'decoder_template.c')
-rw-r--r--decoder_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder_template.c b/decoder_template.c
index ea9d8f43..694f8e45 100644
--- a/decoder_template.c
+++ b/decoder_template.c
@@ -92,7 +92,7 @@ example_read_int16 (DB_fileinfo_t *_info, char *bytes, int size) {
// return 0 on success
// return -1 on failure
static int
-example_seek_sample (int sample) {
+example_seek_sample (DB_fileinfo_t *_info, int sample) {
example_info_t *info = (example_info_t *)_info;
info->currentsample = sample + info->startsample;
@@ -104,7 +104,7 @@ example_seek_sample (int sample) {
// return 0 on success
// return -1 on failure
static int
-example_seek (float time) {
+example_seek (DB_fileinfo_t *_info, float time) {
return example_seek_sample (time * plugin.info.samplerate);
}