3 writes to m_player
PresentationFramework (3)
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (3)
111
m_player
= null;
228
m_player
= new SoundPlayer((Stream)newStream);
248
m_player
= null;
12 references to m_player
PresentationFramework (12)
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (12)
55
if (
m_player
!= null)
57
m_player
.Dispose();
156
else if (
m_player
!= null)
159
Debug.Assert(
m_player
.IsLoadCompleted);
161
m_player
.Play();
226
if (
m_player
== null)
232
m_player
.Stream = (Stream)newStream;
234
m_player
.LoadCompleted += new AsyncCompletedEventHandler(OnSoundPlayerLoadCompleted);
235
m_player
.LoadAsync(); // Begin preloading the stream into SoundPlayer's local buffer
242
if (Object.ReferenceEquals(
m_player
, sender))
244
Debug.Assert(
m_player
.IsLoadCompleted);
259
m_player
.Play();