Changeset 5d27e5a in mainline
- Timestamp:
- 2014-02-10T15:02:03Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9163546
- Parents:
- a107c74
- Location:
- uspace/srv/audio/hound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_data.c
ra107c74 r5d27e5a 45 45 * @param size Size of the @p data buffer. 46 46 * @param fomart audio data format. 47 * @return pointer to valid audio data struct re, NULL on failure.47 * @return pointer to valid audio data structure, NULL on failure. 48 48 */ 49 49 audio_data_t *audio_data_create(const void *data, size_t size, -
uspace/srv/audio/hound/iface.c
ra107c74 r5d27e5a 38 38 #include <hound/protocol.h> 39 39 #include <inttypes.h> 40 #include <malloc.h>41 40 42 41 #include "hound.h" … … 70 69 if (!ctx) 71 70 return EINVAL; 72 int ret = hound_remove_ctx(server, ctx);73 if (ret != EOK)74 return ret;75 hound_ctx_destroy(ctx);76 log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id);77 return EOK;71 const int ret = hound_remove_ctx(server, ctx); 72 if (ret == EOK) { 73 hound_ctx_destroy(ctx); 74 log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id); 75 } 76 return ret; 78 77 } 79 78
Note:
See TracChangeset
for help on using the changeset viewer.