> Is there a way to call a device directly to switch off volume in MAME like perhaps a > machine().device("ymf271").mute()? I'm thinking there must be a simpler way to > intercept or otherwise render the annoying poorly-emulated jingle unaudible, but I'm > having trouble finding any kind of example for it. Someone suggested some esq device > in MESS ages ago but I couldn't make any sense of it at the time.
set_output_gain(0, vol);
example: in hankin.c, m_dac->set_output_gain(0, vol);
|