forked from len0rd/rockbox
Don't hardcode cpu frequency in test_codec
Change-Id: Idcd7b024edb7a550b42b935fadfb3d869bab14c6
This commit is contained in:
parent
313034df29
commit
b0df323391
1 changed files with 2 additions and 6 deletions
|
@ -764,12 +764,8 @@ static enum plugin_status test_track(const char* filename)
|
|||
/* show effective clockrate in MHz needed for realtime decoding */
|
||||
if (speed > 0)
|
||||
{
|
||||
int freq = CPUFREQ_MAX;
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
if(!boost)
|
||||
freq = CPUFREQ_NORMAL;
|
||||
#endif
|
||||
int freq;
|
||||
freq = *rb->cpu_frequency;
|
||||
|
||||
speed = freq / speed;
|
||||
rb->snprintf(str,sizeof(str),"%d.%02dMHz needed for realtime",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue