summaryrefslogtreecommitdiff
path: root/apps/plugins/a52towav.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/a52towav.c')
-rw-r--r--apps/plugins/a52towav.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/a52towav.c b/apps/plugins/a52towav.c
index 552479b0b0..3e81c9db0c 100644
--- a/apps/plugins/a52towav.c
+++ b/apps/plugins/a52towav.c
@@ -175,7 +175,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
175 175
176 /* This function sets up the buffers and reads the file into RAM */ 176 /* This function sets up the buffers and reads the file into RAM */
177 177
178 if (local_init(file,&file_info)) { 178 if (local_init(file,"/ac3test.wav",&file_info)) {
179 return PLUGIN_ERROR; 179 return PLUGIN_ERROR;
180 } 180 }
181 181
@@ -190,6 +190,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
190 /* The main decoding loop */ 190 /* The main decoding loop */
191 191
192 file_info.start_tick=*(rb->current_tick); 192 file_info.start_tick=*(rb->current_tick);
193 rb->button_clear_queue();
194
193 while (file_info.curpos < file_info.filesize) { 195 while (file_info.curpos < file_info.filesize) {
194 196
195 if ((file_info.curpos+BUFFER_SIZE) < file_info.filesize) { 197 if ((file_info.curpos+BUFFER_SIZE) < file_info.filesize) {