Changes in / [054f3079:dbb29de] in mainline
- Location:
- uspace/srv/audio/hound
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_data.c
r054f3079 rdbb29de 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 ure, NULL on failure.47 * @return pointer to valid audio data structre, NULL on failure. 48 48 */ 49 49 audio_data_t *audio_data_create(const void *data, size_t size, -
uspace/srv/audio/hound/audio_device.c
r054f3079 rdbb29de 42 42 #include <str.h> 43 43 #include <str_error.h> 44 #include <sys/mman.h>45 44 46 45 … … 381 380 const int ret = audio_pcm_release_buffer(dev->sess); 382 381 if (ret == EOK) { 383 munmap(dev->buffer.base, dev->buffer.size);384 382 dev->buffer.base = NULL; 385 383 dev->buffer.size = 0; -
uspace/srv/audio/hound/hound_ctx.c
r054f3079 rdbb29de 418 418 connection_push_data(conn, adata); 419 419 } 420 /* all connections should now have their refs */421 audio_data_unref(adata);422 420 fibril_mutex_unlock(&ctx->guard); 423 421 return EOK; -
uspace/srv/audio/hound/iface.c
r054f3079 rdbb29de 38 38 #include <hound/protocol.h> 39 39 #include <inttypes.h> 40 #include <malloc.h> 40 41 41 42 #include "hound.h" … … 69 70 if (!ctx) 70 71 return EINVAL; 71 constint 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;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; 77 78 } 78 79
Note:
See TracChangeset
for help on using the changeset viewer.