Making output frequency a config option
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
This patch is an attempt to make the output sample rate configurable at runtime; something that's been on the TODO list since forever. The patch looks pretty obvious to me, but I don't want to apply it without any feedback.
There are things to be done, of course. I haven't even tried to add a GUI for it in the options window.
Two things I noticed while testing the patch:
My debug message never seems to be displayed unless I change it to debug(0, ...).
When I accidentally triggered a call to error(), the program terminated with a "pure virtual method called" message. Seems our debugging functions don't work in all cases.
Oh well. None of that matters for the patch itself.
Ticket imported from: #957544. Ticket imported from: patches/446.