AudioStreamer.SetSource Method

July 28, 2014

Sets a MediaStreamSource derived object that provides buffering and playback functionality for this audio stream.

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public void SetSource(
	MediaStreamSource source
)

Parameters

source
Type: System.Windows.Media.MediaStreamSource
The MediaStreamSource to use for this audio stream.

ExceptionCondition
InvalidOperationException

SetSource(MediaStreamSource) has been called more than once.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft