I think you would do a lot better by first expanding the MP3 file to a WAV file. This would separate the decoding functions from the playback functions, and you could then play a section of the WAV file and correctly expect Windows to play exactly what you want. It would also give you a guaranteed linear relationship between file position and time, which would make your manipulations easier. (Some MP3 files have variable bit rates.)
Rainer _______________________________________________ Delphi mailing list -> Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi