static void mp3_rewind ( struct audio_file fd  )  [static]

Rewind the current audio file handle to the beginning.

Definition at line 279 of file audio_format_mp3.c.

00280 {
00281         struct mp3_drv_data *data = fd->drv_data;
00282 
00283         rewind(fd->fp);
00284 
00285         data->cursample = 0;
00286         fd->time_cur = 0;
00287 
00288         mad_stream_init(&data->mstream);
00289         mad_frame_init(&data->mframe);
00290         mad_header_init(&data->mheader);
00291         mad_synth_init(&data->msynth);
00292         mad_timer_reset(&data->mtimer);
00293 }

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:04 2010 for herrie by  doxygen 1.6.3