summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 76f0788583..cb4900e1ae 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -822,7 +822,7 @@ static void voice_boost_cpu(bool state)
822 if (state != voice_cpu_boosted) 822 if (state != voice_cpu_boosted)
823 { 823 {
824 voice_cpu_boosted = state; 824 voice_cpu_boosted = state;
825 cpu_boost(state); 825 cpu_boost_id(state, CPUBOOSTID_PLAYBACK_VOICE);
826 } 826 }
827} 827}
828#endif 828#endif
@@ -1676,7 +1676,7 @@ static bool codec_load_next_track(void)
1676 automatic_skip = true; 1676 automatic_skip = true;
1677 } 1677 }
1678 1678
1679 cpu_boost(true); 1679 cpu_boost_id(true, CPUBOOSTID_PLAYBACK_CODEC);
1680 LOGFQUEUE("codec > audio Q_AUDIO_CHECK_NEW_TRACK"); 1680 LOGFQUEUE("codec > audio Q_AUDIO_CHECK_NEW_TRACK");
1681 queue_post(&audio_queue, Q_AUDIO_CHECK_NEW_TRACK, 0); 1681 queue_post(&audio_queue, Q_AUDIO_CHECK_NEW_TRACK, 0);
1682 while (1) 1682 while (1)
@@ -1690,7 +1690,7 @@ static bool codec_load_next_track(void)
1690 else 1690 else
1691 break; 1691 break;
1692 } 1692 }
1693 cpu_boost(false); 1693 cpu_boost_id(false, CPUBOOSTID_PLAYBACK_CODEC);
1694 switch (ev.id) 1694 switch (ev.id)
1695 { 1695 {
1696 case Q_CODEC_REQUEST_COMPLETE: 1696 case Q_CODEC_REQUEST_COMPLETE:
@@ -2177,7 +2177,7 @@ static void audio_read_file(bool quick)
2177 return ; 2177 return ;
2178 } 2178 }
2179 2179
2180 cpu_boost(true); 2180 cpu_boost_id(true, CPUBOOSTID_PLAYBACK_AUDIO);
2181 while (tracks[track_widx].filerem > 0) 2181 while (tracks[track_widx].filerem > 0)
2182 { 2182 {
2183 int overlap; 2183 int overlap;
@@ -2245,7 +2245,7 @@ static void audio_read_file(bool quick)
2245 logf("Partially buf:%dB", 2245 logf("Partially buf:%dB",
2246 tracks[track_widx].filesize - tracks[track_widx].filerem); 2246 tracks[track_widx].filesize - tracks[track_widx].filerem);
2247 } 2247 }
2248 cpu_boost(false); 2248 cpu_boost_id(false, CPUBOOSTID_PLAYBACK_AUDIO);
2249} 2249}
2250 2250
2251static bool audio_loadcodec(bool start_play) 2251static bool audio_loadcodec(bool start_play)