Menu

If: sampleRate == doesn't work if the file is included after "Device" in the config.txt

jw0785
2026-02-08
2026-02-09
  • jw0785

    jw0785 - 2026-02-08

    it works if the txt is directly included inside config.txt.

    is this expected behaviour? if so, some documentation can help.

    or it's a bug?

     
  • Peter Verbeek

    Peter Verbeek - 2026-02-08

    The only thing I know is that the sampleRate variable is the value of the current audio process, meaning the process of the current selected device, not the one selected by the device selection command. I guess it depends how the APO (audio engine) of Equalizer APO is handling things. It should be as I explained but it may be more complicated of which I'm not aware of.

     
  • jw0785

    jw0785 - 2026-02-09

    i've tried that by keeping the device, source, and wav file all at 44100hz. Until i write convolution: filename.wav directly it is completely ignored.

     
    • Peter Verbeek

      Peter Verbeek - 2026-02-09

      Smart thinking. I don't know what's going on. Perhaps I can take a look at your configuration files. Could you attach them to your next post? I doubt that I can figure it out but I can give it a try.

       

Log in to post a comment.

MongoDB Logo MongoDB