Yeah, makes sense..
I would think a modeline in Linux would do it
The emulator I use in DOS for my cab has a special 15Khz command line option, but it didn't have a 25Khz option.
Looks like AdvanceMame will do that:
No idea how you would do that in Windows.
Even tho, as a Linux server admin, I spend most of my day working on Windows servers ;-), I almost never play with Windows graphics card configs...