X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mood.c;h=bafe710c09372a7e8a1f82168324d9a64a0e633e;hp=6046137d31b63bc8406182b01ef650e2eafa5f0f;hb=82d30469bd9dd9bd3d5080f32801c218cdc1f642;hpb=d5a9e8c8eefe170b6fb62be563c079c818bd3bf8 diff --git a/mood.c b/mood.c index 6046137d..bafe710c 100644 --- a/mood.c +++ b/mood.c @@ -17,6 +17,7 @@ #include "list.h" #include "ipc.h" #include "mm.h" +#include "sideband.h" /** * Contains statistical data of the currently admissible audio files. @@ -427,6 +428,7 @@ void mood_check_callback(int fd, __a_unused const struct osl_object *query) .max_size = shm_get_shmmax(), .private_data = &(struct afs_max_size_handler_data) { .fd = fd, + .band = SBD_OUTPUT }, .max_size_handler = afs_max_size_handler }; @@ -437,7 +439,7 @@ void mood_check_callback(int fd, __a_unused const struct osl_object *query) osl_rbtree_loop(moods_table, BLOBCOL_ID, &pb, check_mood); if (pb.offset) - pass_buffer_as_shm(fd, pb.buf, pb.offset); + pass_buffer_as_shm(fd, SBD_OUTPUT, pb.buf, pb.offset); free(pb.buf); }