mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Backport r30202. Fixes musepack resume for resume positions > 7:30m.
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_9@30203 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
09885c3403
commit
be32b990f8
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ enum codec_status codec_run(void)
|
||||||
* sample seek position from the file offset, the sampling frequency and
|
* sample seek position from the file offset, the sampling frequency and
|
||||||
* the bitrate. As the saved position is exactly calculated the reverse way
|
* the bitrate. As the saved position is exactly calculated the reverse way
|
||||||
* there is no loss of information except rounding. */
|
* there is no loss of information except rounding. */
|
||||||
samplesdone = 100 * ((mpc_uint64_t)(ci->id3->offset * frequency) / byterate);
|
samplesdone = 100 * (((mpc_uint64_t)ci->id3->offset * frequency) / byterate);
|
||||||
|
|
||||||
/* Set up digital signal processing for correct number of channels */
|
/* Set up digital signal processing for correct number of channels */
|
||||||
/* NOTE: current musepack format only allows for stereo files
|
/* NOTE: current musepack format only allows for stereo files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue