summaryrefslogtreecommitdiffstats
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index cf015e2503..f78b6bf4e1 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -785,12 +785,6 @@ int plugin_load(const char* plugin, const void* parameter)
break;
}
-#if CONFIG_CODEC == SWCODEC && !defined (HAVE_HARDWARE_BEEP)
- /* Did the plugin trash the buffer? Restore it. */
- if (audio_buffer_state() == AUDIOBUF_STATE_TRASHED)
- audio_buffer_reset();
-#endif
-
return PLUGIN_OK;
}