shithub: aubio

Download patch

ref: 2cc816a4d405cbe3a34a3b17ff68f55ec239236f
parent: 321eb85b895ea9c0a29b550820df9aaf919e06f4
author: Paul Brossier <piem@piem.org>
date: Thu Oct 1 20:51:50 EDT 2009

src/temporal/[ac]_weighting.c: update error message

--- a/src/temporal/a_weighting.c
+++ b/src/temporal/a_weighting.c
@@ -224,7 +224,8 @@
 
     default: 
       AUBIO_ERROR ( "sampling rate of A-weighting filter is %d, should be one of\
- 8000, 16000, 22050, 44100, 96000, 192000.\n",  samplerate );
+ 8000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, 192000.\n", 
+ samplerate );
       break;
 
   }
--- a/src/temporal/c_weighting.c
+++ b/src/temporal/c_weighting.c
@@ -183,7 +183,8 @@
 
     default:
       AUBIO_ERROR ( "sampling rate of C-weighting filter is %d, should be one of\
- 8000, 16000, 22050, 44100, 96000, 192000.\n",  samplerate );
+ 8000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, 192000.\n", 
+ samplerate );
       break;
 
   }