From 6d99e1e138ae5aafc10f14682c48221bf563152e Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 22 Jul 2011 17:27:12 +0000 Subject: [PATCH] Fix k3b FTBFS git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1242769 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libk3b/plugin/libsamplerate/samplerate.h | 4 ++-- libk3b/plugin/libsamplerate/src_sinc.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libk3b/plugin/libsamplerate/samplerate.h b/libk3b/plugin/libsamplerate/samplerate.h index f83ae48..dfc4448 100644 --- a/libk3b/plugin/libsamplerate/samplerate.h +++ b/libk3b/plugin/libsamplerate/samplerate.h @@ -123,8 +123,8 @@ const char* src_strerror (int error) ; enum { - SRC_SINC_BEST_TQUALITY = 0, - SRC_SINC_MEDIUM_TQUALITY = 1, + SRC_SINC_BEST_QUALITY = 0, + SRC_SINC_MEDIUM_QUALITY = 1, SRC_SINC_FASTEST = 2, SRC_ZERO_ORDER_HOLD = 3, SRC_LINEAR = 4 diff --git a/libk3b/plugin/libsamplerate/src_sinc.c b/libk3b/plugin/libsamplerate/src_sinc.c index cca8b64..ddfc06b 100644 --- a/libk3b/plugin/libsamplerate/src_sinc.c +++ b/libk3b/plugin/libsamplerate/src_sinc.c @@ -114,10 +114,10 @@ const char* sinc_get_name (int src_enum) { switch (src_enum) - { case SRC_SINC_BEST_TQUALITY : + { case SRC_SINC_BEST_QUALITY : return "Best Sinc Interpolator" ; - case SRC_SINC_MEDIUM_TQUALITY : + case SRC_SINC_MEDIUM_QUALITY : return "Medium Sinc Interpolator" ; case SRC_SINC_FASTEST : @@ -131,10 +131,10 @@ const char* sinc_get_description (int src_enum) { switch (src_enum) - { case SRC_SINC_BEST_TQUALITY : + { case SRC_SINC_BEST_QUALITY : return "Band limitied sinc interpolation, best quality, 97dB SNR, 96% BW." ; - case SRC_SINC_MEDIUM_TQUALITY : + case SRC_SINC_MEDIUM_QUALITY : return "Band limitied sinc interpolation, medium quality, 97dB SNR, 90% BW." ; case SRC_SINC_FASTEST : @@ -170,7 +170,7 @@ sinc_set_converter (SRC_PRIVATE *psrc, int src_enum) psrc->reset = sinc_reset ; switch (src_enum) - { case SRC_SINC_BEST_TQUALITY : + { case SRC_SINC_BEST_QUALITY : temp_filter.coeffs = high_qual_coeffs ; temp_filter.coeff_half_len = (sizeof (high_qual_coeffs) / sizeof (coeff_t)) - 1 ; temp_filter.index_inc = 128 ; @@ -178,7 +178,7 @@ sinc_set_converter (SRC_PRIVATE *psrc, int src_enum) temp_filter.coeff_len = sizeof (high_qual_coeffs) / sizeof (coeff_t) ; break ; - case SRC_SINC_MEDIUM_TQUALITY : + case SRC_SINC_MEDIUM_QUALITY : temp_filter.coeffs = mid_qual_coeffs ; temp_filter.coeff_half_len = (sizeof (mid_qual_coeffs) / sizeof (coeff_t)) - 1 ; temp_filter.index_inc = 128 ;