XNACS1Lib: CSS490 Spring 2011
Plays the specific audo file name continuously as the background audio.

Namespace: XNACS1Lib
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0

Syntax

C#
public static void PlayBackgroundAudio(
	string bgAudio,
	float level
)

Parameters

bgAudio
Type: System..::..String
Name of the file to be used as background music.
level
Type: System..::..Single
The loudness of bg music (1.0 is loudest, 0.0 is silent).

Remarks

Pass in a null string (null) to stop the background audio.

See Also