diff options
Diffstat (limited to 'src/inputPlugins/audiofile_plugin.c')
-rw-r--r-- | src/inputPlugins/audiofile_plugin.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/inputPlugins/audiofile_plugin.c b/src/inputPlugins/audiofile_plugin.c index faa58fe64..fc257263e 100644 --- a/src/inputPlugins/audiofile_plugin.c +++ b/src/inputPlugins/audiofile_plugin.c @@ -106,13 +106,13 @@ static int audiofile_decode(struct decoder * decoder, char *path) eof = 1; else { current += ret; - ob_send(NULL, - 1, - chunk, ret * fs, - (float)current / - (float)dc.audioFormat. - sampleRate, bitRate, - NULL); + decoder_data(decoder, NULL, + 1, + chunk, ret * fs, + (float)current / + (float)dc.audioFormat. + sampleRate, bitRate, + NULL); if (dc.command == DECODE_COMMAND_STOP) break; } |