diff options
author | wm4 <wm4@nowhere> | 2014-01-24 21:30:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-24 21:30:15 +0100 |
commit | 39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd (patch) | |
tree | 006930f584e55ca721e587199b359c9be548ac04 /audio/filter/af_delay.c | |
parent | f46e188ec5952693c08d0572558a13f9a92504f8 (diff) | |
download | mpv-39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd.tar.bz2 mpv-39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd.tar.xz |
audio/filter: remove redundant log message prefixes
These are now appended automatically, so you'd get them twice before
this commit.
Diffstat (limited to 'audio/filter/af_delay.c')
-rw-r--r-- | audio/filter/af_delay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/filter/af_delay.c b/audio/filter/af_delay.c index 51c453f6e5..a8cd79f117 100644 --- a/audio/filter/af_delay.c +++ b/audio/filter/af_delay.c @@ -54,7 +54,7 @@ static int control(struct af_instance* af, int cmd, void* arg) struct mp_audio *in = arg; if (in->bps != 1 && in->bps != 2 && in->bps != 4) { - MP_FATAL(af, "[delay] Sample format not supported\n"); + MP_FATAL(af, "Sample format not supported\n"); return AF_ERROR; } @@ -69,16 +69,16 @@ static int control(struct af_instance* af, int cmd, void* arg) for(i=0;i<af->data->nch;i++){ s->q[i] = calloc(L,af->data->bps); if(NULL == s->q[i]) - MP_FATAL(af, "[delay] Out of memory\n"); + MP_FATAL(af, "Out of memory\n"); } if(AF_OK != af_from_ms(AF_NCH, s->d, s->wi, af->data->rate, 0.0, 1000.0)) return AF_ERROR; s->ri = 0; for(i=0;i<AF_NCH;i++){ - MP_DBG(af, "[delay] Channel %i delayed by %0.3fms\n", + MP_DBG(af, "Channel %i delayed by %0.3fms\n", i,MPCLAMP(s->d[i],0.0,1000.0)); - MP_TRACE(af, "[delay] Channel %i delayed by %i samples\n", + MP_TRACE(af, "Channel %i delayed by %i samples\n", i,s->wi[i]); } return AF_OK; |