decoder: manage decoder list in a static array
Currently, there is no way to dynamically load decoder plugins, thus we don't need a dynamic list to manage them.
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "decoder_internal.h"
|
||||
#include "decoder_list.h"
|
||||
#include "decoder_control.h"
|
||||
#include "player_control.h"
|
||||
#include "audio.h"
|
||||
@@ -31,16 +30,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
void decoder_plugin_register(struct decoder_plugin *plugin)
|
||||
{
|
||||
decoder_plugin_load(plugin);
|
||||
}
|
||||
|
||||
void decoder_plugin_unregister(struct decoder_plugin *plugin)
|
||||
{
|
||||
decoder_plugin_unload(plugin);
|
||||
}
|
||||
|
||||
void decoder_initialized(struct decoder * decoder,
|
||||
const struct audio_format *audio_format,
|
||||
float total_time)
|
||||
|
||||
Reference in New Issue
Block a user