weixin_39987138 2020-11-20 21:15
浏览 0

please make mlock() optional

Hi.

Right now when I load soundfont, my prog
writes the following message on console:
---
fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible.
---

I don't want such a message printed by my
prog (fluidsynth prints it), and I don't want
mlock(), so it would be nice to make that optional,
controllable via some setting.

Reported by: stsp

Original Ticket: fluidsynth/tickets/111

该提问来源于开源项目:FluidSynth/fluidsynth

  • 写回答

8条回答 默认 最新

  • weixin_39987138 2020-11-20 21:15
    关注

    Actually, I think that mlock(), prioriry
    tricks etc make much fewer sense when the
    system timer is not used for synth.
    If I manually advance the sequencer clock
    and do not use an audio driver, then my app
    should deal with swapins on its own too.

    Original comment by: stsp

    评论

报告相同问题?