MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

Robbbert
Sir
Reged: 08/21/04
Posts: 3203
Loc: A long way from you
Send PM
Re: Setting sound chip volume off within the driver?
09/24/14 07:11 AM



> 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);







Entire thread
Subject Posted by Posted on
* Setting sound chip volume off within the driver? BPzeBanshee 09/22/14 04:28 PM
. * Re: Setting sound chip volume off within the driver? Robbbert  09/24/14 07:11 AM
. * Re: Setting sound chip volume off within the driver? BPzeBanshee  09/24/14 10:58 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 76 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2887