Changeset e5bc912 in mainline for uspace/srv
- Timestamp:
- 2013-08-16T15:16:21Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ac8b096
- Parents:
- 537620a8
- Location:
- uspace/srv/audio/hound
- Files:
-
- 4 edited
-
audio_device.c (modified) (2 diffs)
-
hound_ctx.c (modified) (2 diffs)
-
iface.c (modified) (3 diffs)
-
main.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_device.c
r537620a8 re5bc912 38 38 #include <async.h> 39 39 #include <errno.h> 40 #include <inttypes.h> 40 41 #include <loc.h> 41 42 #include <str.h> … … 93 94 dev->buffer.fragment_size = 0; 94 95 95 log_verbose("Initialized device (%p) '%s' with id % u.",96 log_verbose("Initialized device (%p) '%s' with id %" PRIun ".", 96 97 dev, dev->name, dev->id); 97 98 -
uspace/srv/audio/hound/hound_ctx.c
r537620a8 re5bc912 413 413 return ENOMEM; 414 414 } 415 log_verbose("CTX: %p . Mixing %zu streams", ctx,415 log_verbose("CTX: %p: Mixing %u streams", ctx, 416 416 list_count(&ctx->streams)); 417 417 pcm_format_silence(buffer, size, &source->format); … … 424 424 log_warning("Not enough data in stream buffer"); 425 425 } 426 log_verbose("CTX: %p. Pushing audio to % zu connections", ctx,426 log_verbose("CTX: %p. Pushing audio to %u connections", ctx, 427 427 list_count(&source->connections)); 428 428 list_foreach(source->connections, it) { -
uspace/srv/audio/hound/iface.c
r537620a8 re5bc912 37 37 #include <errno.h> 38 38 #include <hound/protocol.h> 39 #include <inttypes.h> 39 40 #include <malloc.h> 40 41 … … 73 74 return ret; 74 75 hound_ctx_destroy(ctx); 75 log_info("%s: %p, %# x", __FUNCTION__, server, id);76 log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id); 76 77 return EOK; 77 78 } … … 116 117 assert(server); 117 118 118 log_verbose("%s: %p, % d %x ch:%u r:%u f:%s", __FUNCTION__, server, id,119 flags, format.channels, format.sampling_rate,119 log_verbose("%s: %p, %" PRIxn " %x ch:%u r:%u f:%s", __FUNCTION__, 120 server, id, flags, format.channels, format.sampling_rate, 120 121 pcm_sample_format_str(format.sample_format)); 121 122 hound_ctx_t *ctx = hound_get_ctx_by_id(server, id); -
uspace/srv/audio/hound/main.c
r537620a8 re5bc912 37 37 #include <async.h> 38 38 #include <errno.h> 39 #include <inttypes.h> 39 40 #include <stdio.h> 40 41 #include <stdlib.h> … … 94 95 return -ret; 95 96 } 96 log_info("Running with service id % u", id);97 log_info("Running with service id %" PRIun, id); 97 98 98 99 scan_for_devices();
Note:
See TracChangeset
for help on using the changeset viewer.
