diff options
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c index a92425d439..d03fead233 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -215,7 +215,7 @@ static void load_voicefile(void) | |||
215 | /* Do a bitswap as necessary. */ | 215 | /* Do a bitswap as necessary. */ |
216 | #if CONFIG_CODEC == SWCODEC | 216 | #if CONFIG_CODEC == SWCODEC |
217 | logf("Bitswapping voice file."); | 217 | logf("Bitswapping voice file."); |
218 | cpu_boost(true); | 218 | cpu_boost_id(true, CPUBOOSTID_TALK); |
219 | buf = (unsigned char *)(&p_voicefile->index) + | 219 | buf = (unsigned char *)(&p_voicefile->index) + |
220 | (p_voicefile->id1_max + p_voicefile->id2_max) * sizeof(struct clip_entry); | 220 | (p_voicefile->id1_max + p_voicefile->id2_max) * sizeof(struct clip_entry); |
221 | length = file_size - (buf - (unsigned char *) p_voicefile); | 221 | length = file_size - (buf - (unsigned char *) p_voicefile); |
@@ -227,7 +227,7 @@ static void load_voicefile(void) | |||
227 | temp = ((temp >> 2) & 0x33) | ((temp & 0x33) << 2); | 227 | temp = ((temp >> 2) & 0x33) | ((temp & 0x33) << 2); |
228 | buf[i] = ((temp >> 1) & 0x55) | ((temp & 0x55) << 1); | 228 | buf[i] = ((temp >> 1) & 0x55) | ((temp & 0x55) << 1); |
229 | } | 229 | } |
230 | cpu_boost(false); | 230 | cpu_boost_id(false, CPUBOOSTID_TALK); |
231 | 231 | ||
232 | #endif | 232 | #endif |
233 | 233 | ||