libogc icon indicating copy to clipboard operation
libogc copied to clipboard

Get track location in MP3Player?

Open HTV04 opened this issue 2 years ago • 2 comments

I was looking through the MP3Player code and I don't think there's a function for getting the current position while playing an MP3 file. Is it possible to implement this?

HTV04 avatar Apr 11 '22 18:04 HTV04

quick look at this rfc (request for change) & code makes me wonder what you mean with 'current position'. do you mean in time, in buffer location or in frame?

MP3 file is split up in frames, each frame being x seconds of the song and y bytes long. so with current position, do you mean x seconds of a total of z seconds of the mp3 that has been played or...?

DacoTaco avatar Apr 12 '22 17:04 DacoTaco

do you mean x seconds of a total of z seconds of the mp3 that has been played

Yes, unless there's a different standard that is usually used.

HTV04 avatar Apr 12 '22 17:04 HTV04