AudioStreamer.SetSource Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets a MediaStreamSource derived object that provides buffering and playback functionality for this audio stream.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- source
- Type: System.Windows.Media.MediaStreamSource
The MediaStreamSource to use for this audio stream.
| Exception | Condition |
|---|---|
| InvalidOperationException | SetSource(MediaStreamSource) has been called more than once. |
Show: