Re: [mpg123-users] How to calculate play time?
Brought to you by:
sobukus
From: Miro K. <mir...@gm...> - 2013-03-08 13:47:58
|
> mpg123_open(); > mpg123_scan(); > len = mpg123_length(); > > ... > pos = mpg123_position(); > remain = len-pos; > > From the sample count you can compute seconds with the sampling rate, > Thank you Thomas, you've been most helpful. -- MiKRO / Mystic Bytes http://mikro.atari.org |