Mercurial > audlegacy-plugins
comparison src/madplug/decoder.c @ 1978:fa9f85cebade
s/vfs_/aud_vfs_/g
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sun, 07 Oct 2007 00:25:33 -0500 |
| parents | 5fa26178eaef |
| children | a260bd1beef0 |
comparison
equal
deleted
inserted
replaced
| 1977:5a6b60ceaa0f | 1978:fa9f85cebade |
|---|---|
| 569 if(new_position < 0) | 569 if(new_position < 0) |
| 570 new_position = 0; | 570 new_position = 0; |
| 571 #ifdef DEBUG | 571 #ifdef DEBUG |
| 572 g_message("seeking to: %d bytes", new_position); | 572 g_message("seeking to: %d bytes", new_position); |
| 573 #endif | 573 #endif |
| 574 if (vfs_fseek(info->infile, new_position, SEEK_SET) == -1) | 574 if (aud_vfs_fseek(info->infile, new_position, SEEK_SET) == -1) |
| 575 audmad_error("failed to seek to: %d", new_position); | 575 audmad_error("failed to seek to: %d", new_position); |
| 576 mad_frame_mute(&frame); | 576 mad_frame_mute(&frame); |
| 577 mad_synth_mute(&synth); | 577 mad_synth_mute(&synth); |
| 578 stream.error = MAD_ERROR_BUFLEN; | 578 stream.error = MAD_ERROR_BUFLEN; |
| 579 info->playback->output->flush(mad_timer_count(info->pos, MAD_UNITS_MILLISECONDS)); | 579 info->playback->output->flush(mad_timer_count(info->pos, MAD_UNITS_MILLISECONDS)); |
