diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-07-03 18:02:56 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-07-03 18:02:56 +0200 |
commit | a7486934a8c1f678da0d99c3e4151a67bb3c6cae (patch) | |
tree | 8b084ff2c12d054a4493b602f72fe3c78506677e /plugins | |
parent | 1065a98987848cd89a116c440ed476c96488ec1d (diff) |
Uses the APIv3 compatibility to vdyn
Uses the new compatibility for vdyn based on V3
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/alsa/alsa-api-mixer.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/alsa/alsa-api-mixer.c b/plugins/alsa/alsa-api-mixer.c index f17e122..e3538f8 100644 --- a/plugins/alsa/alsa-api-mixer.c +++ b/plugins/alsa/alsa-api-mixer.c @@ -634,21 +634,9 @@ OnErrorExit: return; } -STATIC void MixerPingVerb(AFB_ReqT request) { - static int count = 0; - count++; - - AFB_ReqInfo(request, "MixerAttachVerb: Controller:ping count=%d", count); - AFB_ReqSuccess(request, json_object_new_int(count), NULL); - - return; -} - - // Every HAL export the same API & Interface Mapping from SndCard to AudioLogic is done through alsaHalSndCardT STATIC AFB_ApiVerbs CtrlApiVerbs[] = { /* VERB'S NAME FUNCTION TO CALL SHORT DESCRIPTION */ - { .verb = "ping", .callback = MixerPingVerb, .info = "ping count test"}, { .verb = "attach", .callback = MixerAttachVerb, .info = "attach resources to mixer"}, { .verb = "remove", .callback = MixerRemoveVerb, .info = "remove existing mixer streams, zones, ..."}, { .verb = "info", .callback = MixerInfoVerb, .info = "list existing mixer streams, zones, ..."}, |