diff options
Diffstat (limited to 'lib/rbcodec/codecs/codecs.h')
-rw-r--r-- | lib/rbcodec/codecs/codecs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rbcodec/codecs/codecs.h b/lib/rbcodec/codecs/codecs.h index 03167f55bf..ae4233b7a6 100644 --- a/lib/rbcodec/codecs/codecs.h +++ b/lib/rbcodec/codecs/codecs.h | |||
@@ -107,13 +107,13 @@ enum codec_command_action { | |||
107 | struct codec_api { | 107 | struct codec_api { |
108 | off_t filesize; /* Total file length */ | 108 | off_t filesize; /* Total file length */ |
109 | off_t curpos; /* Current buffer position */ | 109 | off_t curpos; /* Current buffer position */ |
110 | 110 | ||
111 | struct mp3entry *id3; /* TAG metadata pointer */ | 111 | struct mp3entry *id3; /* TAG metadata pointer */ |
112 | int audio_hid; /* Current audio handle */ | 112 | int audio_hid; /* Current audio handle */ |
113 | 113 | ||
114 | /* The dsp instance to be used for audio output */ | 114 | /* The dsp instance to be used for audio output */ |
115 | struct dsp_config *dsp; | 115 | struct dsp_config *dsp; |
116 | 116 | ||
117 | /* Returns buffer to malloc array. Only codeclib should need this. */ | 117 | /* Returns buffer to malloc array. Only codeclib should need this. */ |
118 | void* (*codec_get_buffer)(size_t *size); | 118 | void* (*codec_get_buffer)(size_t *size); |
119 | /* Insert PCM data into audio buffer for playback. Playback will start | 119 | /* Insert PCM data into audio buffer for playback. Playback will start |
@@ -121,7 +121,7 @@ struct codec_api { | |||
121 | void (*pcmbuf_insert)(const void *ch1, const void *ch2, int count); | 121 | void (*pcmbuf_insert)(const void *ch1, const void *ch2, int count); |
122 | /* Set song position in WPS (value in ms). */ | 122 | /* Set song position in WPS (value in ms). */ |
123 | void (*set_elapsed)(unsigned long value); | 123 | void (*set_elapsed)(unsigned long value); |
124 | 124 | ||
125 | /* Read next <size> amount bytes from file buffer to <ptr>. | 125 | /* Read next <size> amount bytes from file buffer to <ptr>. |
126 | Will return number of bytes read or 0 if end of file. */ | 126 | Will return number of bytes read or 0 if end of file. */ |
127 | size_t (*read_filebuf)(void *ptr, size_t size); | 127 | size_t (*read_filebuf)(void *ptr, size_t size); |
@@ -198,7 +198,7 @@ struct codec_api { | |||
198 | void (*profile_func_enter)(void *this_fn, void *call_site); | 198 | void (*profile_func_enter)(void *this_fn, void *call_site); |
199 | void (*profile_func_exit)(void *this_fn, void *call_site); | 199 | void (*profile_func_exit)(void *this_fn, void *call_site); |
200 | #endif | 200 | #endif |
201 | 201 | ||
202 | #ifdef HAVE_RECORDING | 202 | #ifdef HAVE_RECORDING |
203 | void (*enc_get_inputs)(struct enc_inputs *inputs); | 203 | void (*enc_get_inputs)(struct enc_inputs *inputs); |
204 | void (*enc_set_parameters)(struct enc_parameters *params); | 204 | void (*enc_set_parameters)(struct enc_parameters *params); |