forked from len0rd/rockbox
Argh, move a comment to the (now) proper location. :)
Change-Id: I13847b99d9aeaa05efa5b22a8e4842f193f01a3c
This commit is contained in:
parent
e62cb56644
commit
98c34d8723
2 changed files with 1 additions and 2 deletions
|
|
@ -347,6 +347,7 @@ void audio_pcmbuf_sync_position(void);
|
||||||
/** --- voice event --- **/
|
/** --- voice event --- **/
|
||||||
void playback_voice_event(void *data)
|
void playback_voice_event(void *data)
|
||||||
{
|
{
|
||||||
|
/* Make audio play softly while voice is speaking */
|
||||||
pcmbuf_soft_mode(*(bool *)data);
|
pcmbuf_soft_mode(*(bool *)data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -360,8 +360,6 @@ static enum voice_state voice_message(struct voice_thread_data *td)
|
||||||
|
|
||||||
if (quiet_counter <= 0)
|
if (quiet_counter <= 0)
|
||||||
{
|
{
|
||||||
/* Make audio play more softly and set delay to return to normal
|
|
||||||
playback level */
|
|
||||||
voice_playing = true;
|
voice_playing = true;
|
||||||
send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing);
|
send_event(PLAYBACK_EVENT_VOICE_PLAYING, &voice_playing);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue