summaryrefslogtreecommitdiffstats
path: root/src/alsa-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alsa-api.c')
-rw-r--r--src/alsa-api.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/alsa-api.c b/src/alsa-api.c
index 18529d93..70311462 100644
--- a/src/alsa-api.c
+++ b/src/alsa-api.c
@@ -52,19 +52,19 @@ STATIC struct {
STATIC AFB_restapi pluginApis[]= {
- {"ping" , (AFB_apiCB)pingSample , "Ping Application Framework",NULL},
- {"error" , (AFB_apiCB)wrongApi , "Ping Application Framework",NULL},
- {"ctx-store", (AFB_apiCB)pingSample , "Verbose Mode",NULL},
- {"ctx-load" , (AFB_apiCB)pingSample , "Verbose Mode",NULL},
- {0,0,0,0}
+ {"ping" , (AFB_apiCB)pingSample , "Ping Application Framework"},
+ {"error" , (AFB_apiCB)wrongApi , "Ping Application Framework"},
+ {"ctx-store", (AFB_apiCB)pingSample , "Verbose Mode"},
+ {"ctx-load" , (AFB_apiCB)pingSample , "Verbose Mode"},
+ {NULL}
};
PUBLIC AFB_plugin *alsaRegister () {
AFB_plugin *plugin = malloc (sizeof (AFB_plugin));
- plugin->type = AFB_PLUGIN;
+ plugin->type = AFB_PLUGIN_JSON;
plugin->info = "Application Framework Binder Service";
plugin->prefix= "alsa";
plugin->apis = pluginApis;
-
+
return (plugin);
}; \ No newline at end of file