mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix remaining warnings in 64bit simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9196 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aac8d6917e
commit
ec70f29f1e
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ int64_t samplecount;
|
||||||
int64_t samplesdone;
|
int64_t samplesdone;
|
||||||
int stop_skip, start_skip;
|
int stop_skip, start_skip;
|
||||||
int current_stereo_mode = -1;
|
int current_stereo_mode = -1;
|
||||||
unsigned int current_frequency = 0;
|
unsigned long current_frequency = 0;
|
||||||
|
|
||||||
void recalc_samplecount(void)
|
void recalc_samplecount(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -116,7 +116,7 @@ next_track:
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
frequency = info.sample_freq;
|
frequency = info.sample_freq;
|
||||||
ci->configure(DSP_SET_FREQUENCY, (long *)info.sample_freq);
|
ci->configure(DSP_SET_FREQUENCY, (long *)(long)info.sample_freq);
|
||||||
|
|
||||||
/* set playback engine up for correct number of channels */
|
/* set playback engine up for correct number of channels */
|
||||||
/* NOTE: current musepack format only allows for stereo files
|
/* NOTE: current musepack format only allows for stereo files
|
||||||
|
|
|
@ -96,7 +96,7 @@ next_track:
|
||||||
}
|
}
|
||||||
|
|
||||||
ci->id3->frequency = sc.sample_rate;
|
ci->id3->frequency = sc.sample_rate;
|
||||||
ci->configure(DSP_SET_FREQUENCY, (long *)(sc.sample_rate));
|
ci->configure(DSP_SET_FREQUENCY, (long *)(long)(sc.sample_rate));
|
||||||
|
|
||||||
if (sc.sample_rate) {
|
if (sc.sample_rate) {
|
||||||
ci->id3->length = (sc.totalsamples / sc.sample_rate) * 1000;
|
ci->id3->length = (sc.totalsamples / sc.sample_rate) * 1000;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue