1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<title>DSP_IsSoundPlaying</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9<body>
10
11<h1>DSP_IsSoundPlaying <IMG src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13
14<pre><code>
15BOOL DSP_IsSoundPlaying(void);
16</code></pre>
17
18<h2>Arguments</h2>
19<p>None.</p>
20
21<h2>Return Values</h2>
22<p>Returns <CODE>TRUE</CODE> if sound output from the DSP is currently being played; <CODE>FALSE</CODE> otherwise.</p>
23
24<h2>Description</h2>
25<p>Determines if the DSP sound output is being played by the <a href="DSP_PlaySound.html"><CODE>DSP_PlaySound</CODE></a> function. This function can be used if any of the DSP components have been loaded.<br><br><font color="red"><B>Note:</B></font> When playing a shutter sound using <code><a href="DSP_PlayShutterSound.html">DSP_PlayShutterSound</a></code>, use <code><a href="DSP_IsShutterSoundPlaying.html">DSP_IsShutterSoundPlaying</a></code> instead of <code>DSP_IsSoundPlaying</code> to check whether playback has ended.
26</p>
27
28<h2>See Also</h2>
29<p><code><a href="DSP_PlaySound.html">DSP_PlaySound</a> <BR><a href="DSP_IsShutterSoundPlaying.html">DSP_IsShutterSoundPlaying</a></code></p>
30
31<h2>Revision History</h2>
32<p>
332008/10/23 Added reference to DSP_IsShutterSoundPlaying to determine if shutter-sound playback has ended.<br>2008/07/09 Added information about the <code>DSP_PlayShutterSound</code> function.<BR> 2008/05/27 Initial version.<br />
34</p>
35<hr><p>CONFIDENTIAL</p></body>
36</html>
37