Changeset eafc7b2 in mainline for uspace/srv/audio/hound/iface.c
- Timestamp:
- 2013-04-03T17:30:54Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 585af0d
- Parents:
- 5ffcbaf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/iface.c
r5ffcbaf reafc7b2 71 71 hound_remove_ctx(server, ctx); 72 72 hound_ctx_destroy(ctx); 73 log_info("%s: %p, % d", __FUNCTION__, server, id);73 log_info("%s: %p, %#x", __FUNCTION__, server, id); 74 74 return EOK; 75 75 } … … 88 88 const char *connection, int flags) 89 89 { 90 log_info("%s: %p, %zu, %s, %u", __FUNCTION__, server, *size, connection, flags); 91 *list = malloc(sizeof(char *)); 92 **list = str_dup("FOO SINK"); 93 *size = 1; 94 return EOK; 90 log_info("%s: %p, %zu, %s, %#x\n", __FUNCTION__, server, *size, 91 connection, flags); 92 if ((flags & (HOUND_SINK_DEVS | HOUND_SINK_APPS)) != 0) 93 return hound_list_sinks(server, list, size); 94 if ((flags & (HOUND_SOURCE_DEVS | HOUND_SOURCE_APPS)) != 0) 95 return hound_list_sources(server, list, size); 96 return ENOTSUP; 95 97 } 96 98 … … 98 100 { 99 101 log_info("%s: %p, %s -> %s", __FUNCTION__, server, source, sink); 100 return ENOTSUP;102 return hound_connect(server, source, sink); 101 103 } 102 104 … … 104 106 { 105 107 log_info("%s: %p, %s -> %s", __FUNCTION__, server, source, sink); 106 return ENOTSUP;108 return hound_disconnect(server, source, sink); 107 109 } 108 110
Note:
See TracChangeset
for help on using the changeset viewer.