1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 6<title>SYNSetMasterVolume</title> 7<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 8<META http-equiv="Content-Style-Type" content="text/css"> 9</head> 10 11<body> 12 13<h1 align="left">SYNSetMasterVolume</h1> 14 15<h2>C Specification</h2> 16 17<dl> 18<dd><pre><CODE>#include <revolution.h> 19#include <revolution/syn.h></CODE></pre> 20 </dd> 21<dd><pre><CODE>void SYNSetMasterVolume(SYNSYNTH *synth, s32 dB);</CODE></pre> 22 </dd> 23</dl> 24 25<h2>Arguments</h2> 26 27<table border="1" cellpadding="3" cellspacing="0.1"> 28 <tr> 29<td width="120" bgcolor="#ffffe8"><em><strong><font face="Courier New">synth</font></strong></em></td> 30<td width="520">pointer to the user-initialized <font face="Courier New">SYNSYNTH</font> data structure</td> 31 </tr> 32 <tr> 33<td width="120" bgcolor="#ffffe8"><em><strong><font face="Courier New">dB</font></strong></em></td> 34<td width="520">volume to set in decibels (0x00000001 = 0.1 dB)</td> 35 </tr> 36</table> 37 38<h2>Return Values</h2> 39 40<p>None.</p> 41 42<h2>Description</h2> 43 44<p>This function sets the master volume of a synthesizer instance. This volume is independent from MIDI controller volumes; it is intended for fading scores during runtime.</p> 45 46<h2>See Also</h2> 47 48<p><a href="SYNGetMasterVolume.html"><font face="Courier New">SYNGetMasterVolume</font></a></p> 49<h2>Revision History</h2> 50<P>2006/03/01 Initial version.</P> 51 52<hr> 53<P>CONFIDENTIAL</p> 54</BODY> 55</HTML> 56