SoundEffect.FromStream Method

Creates a SoundEffect object based on the specified data stream.

Namespace:  Microsoft.Xna.Framework.Audio
Assembly:  Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)

public static SoundEffect FromStream(
	Stream stream
)

Parameters

stream
Type: System.IO.Stream
The data for this SoundEffect object.

Return Value

Type: Microsoft.Xna.Framework.Audio.SoundEffect
A SoundEffect object based on the specified data stream.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: