Changeset 353f8cc in mainline
- Timestamp:
- 2013-04-05T18:12:23Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fb14905
- Parents:
- 2373ba7
- Location:
- uspace/srv/audio/hound
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/hound.c
r2373ba7 r353f8cc 148 148 if (!ctx) 149 149 return EINVAL; 150 if (!list_empty(&ctx->streams)) 151 return EBUSY; 150 152 fibril_mutex_lock(&hound->list_guard); 151 153 list_remove(&ctx->link); -
uspace/srv/audio/hound/hound_ctx.c
r2373ba7 r353f8cc 77 77 assert(ctx); 78 78 assert(!link_in_use(&ctx->link)); 79 assert(list_empty(&ctx->streams)); 79 80 if (ctx->source) 80 81 audio_source_fini(ctx->source); 81 82 if (ctx->sink) 82 83 audio_sink_fini(ctx->sink); 83 //TODO remove streams84 84 free(ctx->source); 85 85 free(ctx->sink); -
uspace/srv/audio/hound/iface.c
r2373ba7 r353f8cc 69 69 if (!ctx) 70 70 return EINVAL; 71 hound_remove_ctx(server, ctx); 71 int ret = hound_remove_ctx(server, ctx); 72 if (ret != EOK) 73 return ret; 72 74 hound_ctx_destroy(ctx); 73 75 log_info("%s: %p, %#x", __FUNCTION__, server, id);
Note:
See TracChangeset
for help on using the changeset viewer.