forked from len0rd/rockbox
set the sampling rate back to default on closing,
even it is not a clean shutdown (cleanshut setted) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28835 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
279dff1c21
commit
cac01b9cc9
1 changed files with 3 additions and 2 deletions
|
@ -464,13 +464,14 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
|
|
||||||
backlight_use_settings();
|
backlight_use_settings();
|
||||||
|
|
||||||
|
if(!rb->audio_status())
|
||||||
|
rockboy_pcm_close();
|
||||||
|
|
||||||
if(shut&&!cleanshut)
|
if(shut&&!cleanshut)
|
||||||
{
|
{
|
||||||
rb->splash(HZ/2, errormsg);
|
rb->splash(HZ/2, errormsg);
|
||||||
return PLUGIN_ERROR;
|
return PLUGIN_ERROR;
|
||||||
}
|
}
|
||||||
if(!rb->audio_status())
|
|
||||||
rockboy_pcm_close();
|
|
||||||
|
|
||||||
rb->splash(HZ/2, "Closing Rockboy");
|
rb->splash(HZ/2, "Closing Rockboy");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue