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
|
@ -464,13 +464,14 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
|
||||
backlight_use_settings();
|
||||
|
||||
if(!rb->audio_status())
|
||||
rockboy_pcm_close();
|
||||
|
||||
if(shut&&!cleanshut)
|
||||
{
|
||||
rb->splash(HZ/2, errormsg);
|
||||
return PLUGIN_ERROR;
|
||||
}
|
||||
if(!rb->audio_status())
|
||||
rockboy_pcm_close();
|
||||
|
||||
rb->splash(HZ/2, "Closing Rockboy");
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user