I was looking at some code that reads a mp3 header file and calculates information about the file ( bitrate , number of channels , etc. ) and found a line of c I can't figure out. In this line the track length in seconds is calculated from the number of frames contained in the mp3:
int playTimeInSeconds = toupper ( numberOfFrames * 26 / 1000 );
Does anyone know what the "magic numbers" 26 and 1000 represent in this calculation ? I can't figure this out. Thanks for any information!