3 writes to m_player
PresentationFramework (3)
System\Windows\Controls\SoundPlayerAction.cs (3)
97
m_player
= null;
210
m_player
= new SoundPlayer((Stream)newStream);
230
m_player
= null;
12 references to m_player
PresentationFramework (12)
System\Windows\Controls\SoundPlayerAction.cs (12)
41
if (
m_player
!= null)
43
m_player
.Dispose();
142
else if (
m_player
!= null)
145
Debug.Assert(
m_player
.IsLoadCompleted);
147
m_player
.Play();
208
if (
m_player
== null)
214
m_player
.Stream = (Stream)newStream;
216
m_player
.LoadCompleted += new AsyncCompletedEventHandler(OnSoundPlayerLoadCompleted);
217
m_player
.LoadAsync(); // Begin preloading the stream into SoundPlayer's local buffer
224
if (Object.ReferenceEquals(
m_player
, sender))
226
Debug.Assert(
m_player
.IsLoadCompleted);
241
m_player
.Play();