From 39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 24 Jan 2014 21:30:15 +0100 Subject: audio/filter: remove redundant log message prefixes These are now appended automatically, so you'd get them twice before this commit. --- audio/filter/af_export.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'audio/filter/af_export.c') diff --git a/audio/filter/af_export.c b/audio/filter/af_export.c index a5a8257c39..542b2a1f9f 100644 --- a/audio/filter/af_export.c +++ b/audio/filter/af_export.c @@ -95,20 +95,20 @@ static int control(struct af_instance* af, int cmd, void* arg) // Allocate new buffers (as one continuous block) s->buf[0] = calloc(s->sz*af->data->nch, af->data->bps); if(NULL == s->buf[0]) - MP_FATAL(af, "[export] Out of memory\n"); + MP_FATAL(af, "Out of memory\n"); for(i = 1; i < af->data->nch; i++) s->buf[i] = (uint8_t *)s->buf[0] + i*s->sz*af->data->bps; if (!s->filename) { - MP_FATAL(af, "[export] No filename set.\n"); + MP_FATAL(af, "No filename set.\n"); return AF_ERROR; } // Init memory mapping s->fd = open(s->filename, O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0640); - MP_INFO(af, "[export] Exporting to file: %s\n", s->filename); + MP_INFO(af, "Exporting to file: %s\n", s->filename); if(s->fd < 0) { - MP_FATAL(af, "[export] Could not open/create file: %s\n", + MP_FATAL(af, "Could not open/create file: %s\n", s->filename); return AF_ERROR; } @@ -125,8 +125,8 @@ static int control(struct af_instance* af, int cmd, void* arg) // mmap size s->mmap_area = mmap(0, mapsize, PROT_READ|PROT_WRITE,MAP_SHARED, s->fd, 0); if(s->mmap_area == NULL) - MP_FATAL(af, "[export] Could not mmap file %s\n", s->filename); - MP_INFO(af, "[export] Memory mapped to file: %s (%p)\n", + MP_FATAL(af, "Could not mmap file %s\n", s->filename); + MP_INFO(af, "Memory mapped to file: %s (%p)\n", s->filename, s->mmap_area); // Initialize header -- cgit v1.2.3