3 writes to m_player
PresentationFramework (3)
System\Windows\Controls\SoundPlayerAction.cs (3)
110
m_player
= null;
223
m_player
= new SoundPlayer((Stream)newStream);
243
m_player
= null;
12 references to m_player
PresentationFramework (12)
System\Windows\Controls\SoundPlayerAction.cs (12)
54
if (
m_player
!= null)
56
m_player
.Dispose();
155
else if (
m_player
!= null)
158
Debug.Assert(
m_player
.IsLoadCompleted);
160
m_player
.Play();
221
if (
m_player
== null)
227
m_player
.Stream = (Stream)newStream;
229
m_player
.LoadCompleted += new AsyncCompletedEventHandler(OnSoundPlayerLoadCompleted);
230
m_player
.LoadAsync(); // Begin preloading the stream into SoundPlayer's local buffer
237
if (Object.ReferenceEquals(
m_player
, sender))
239
Debug.Assert(
m_player
.IsLoadCompleted);
254
m_player
.Play();