Project

General

Profile

Bug #535

No sound with 36 kHz Ogg Vorbis file and enabled equalizer

Added by Thomas Lange almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
libaudcore
Target version:
Start date:
April 25, 2015
Due date:
% Done:

100%

Estimated time:
Affects version:

Description

As soon as the equalizer is enabled, there is no sound although the file itself is played usually.

An example file is attached. I have tested 3.5, 3.6 and 3.7-devel, they all show the same behavior.

History

#1 Updated by John Lindgren almost 9 years ago

Once again I am wishing I knew more about digital filters. There is some code that disables the higher frequency IIR filters for lower-rate audio to avoid this very problem, if I understand it correctly. Perhaps it is not quite right. I mean this bit of code in equalizer.cc:

    /* Calculate number of active filters */
    K = AUD_EQ_NBANDS;

    while (CF[K - 1] > (float) rate / 2.2)
        K --;

#2 Updated by John Lindgren almost 9 years ago

  • Status changed from New to Closed
  • Target version set to 3.6.2
  • % Done changed from 0 to 100

#3 Updated by Thomas Lange almost 9 years ago

Thanks for the fix. :)

Also available in: Atom PDF