Fix k3b FTBFS

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1242769 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 90bccb754f
commit 6d99e1e138

@ -123,8 +123,8 @@ const char* src_strerror (int error) ;
enum enum
{ {
SRC_SINC_BEST_TQUALITY = 0, SRC_SINC_BEST_QUALITY = 0,
SRC_SINC_MEDIUM_TQUALITY = 1, SRC_SINC_MEDIUM_QUALITY = 1,
SRC_SINC_FASTEST = 2, SRC_SINC_FASTEST = 2,
SRC_ZERO_ORDER_HOLD = 3, SRC_ZERO_ORDER_HOLD = 3,
SRC_LINEAR = 4 SRC_LINEAR = 4

@ -114,10 +114,10 @@ const char*
sinc_get_name (int src_enum) sinc_get_name (int src_enum)
{ {
switch (src_enum) switch (src_enum)
{ case SRC_SINC_BEST_TQUALITY : { case SRC_SINC_BEST_QUALITY :
return "Best Sinc Interpolator" ; return "Best Sinc Interpolator" ;
case SRC_SINC_MEDIUM_TQUALITY : case SRC_SINC_MEDIUM_QUALITY :
return "Medium Sinc Interpolator" ; return "Medium Sinc Interpolator" ;
case SRC_SINC_FASTEST : case SRC_SINC_FASTEST :
@ -131,10 +131,10 @@ const char*
sinc_get_description (int src_enum) sinc_get_description (int src_enum)
{ {
switch (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." ; 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." ; return "Band limitied sinc interpolation, medium quality, 97dB SNR, 90% BW." ;
case SRC_SINC_FASTEST : case SRC_SINC_FASTEST :
@ -170,7 +170,7 @@ sinc_set_converter (SRC_PRIVATE *psrc, int src_enum)
psrc->reset = sinc_reset ; psrc->reset = sinc_reset ;
switch (src_enum) switch (src_enum)
{ case SRC_SINC_BEST_TQUALITY : { case SRC_SINC_BEST_QUALITY :
temp_filter.coeffs = high_qual_coeffs ; temp_filter.coeffs = high_qual_coeffs ;
temp_filter.coeff_half_len = (sizeof (high_qual_coeffs) / sizeof (coeff_t)) - 1 ; temp_filter.coeff_half_len = (sizeof (high_qual_coeffs) / sizeof (coeff_t)) - 1 ;
temp_filter.index_inc = 128 ; 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) ; temp_filter.coeff_len = sizeof (high_qual_coeffs) / sizeof (coeff_t) ;
break ; break ;
case SRC_SINC_MEDIUM_TQUALITY : case SRC_SINC_MEDIUM_QUALITY :
temp_filter.coeffs = mid_qual_coeffs ; temp_filter.coeffs = mid_qual_coeffs ;
temp_filter.coeff_half_len = (sizeof (mid_qual_coeffs) / sizeof (coeff_t)) - 1 ; temp_filter.coeff_half_len = (sizeof (mid_qual_coeffs) / sizeof (coeff_t)) - 1 ;
temp_filter.index_inc = 128 ; temp_filter.index_inc = 128 ;

Loading…
Cancel
Save