Fix metronome errors for hw codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13605 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4597ebe24b
commit
4354878901
1 changed files with 2 additions and 0 deletions
|
@ -1034,7 +1034,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter){
|
||||||
}
|
}
|
||||||
|
|
||||||
metronome_exit:
|
metronome_exit:
|
||||||
|
#if CONFIG_CODEC == SWCODEC
|
||||||
rb->pcm_set_frequency(HW_SAMPR_DEFAULT);
|
rb->pcm_set_frequency(HW_SAMPR_DEFAULT);
|
||||||
|
#endif
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue