m_FilgraphManager = new FilterGraph();
FileInfo fi = new FileInfo(m_FileName);
if (!fi.Exists) return;
m_MediaEventEx = m_FilgraphManager as IMediaEventEx;
m_MediaEventEx.SetNotifyWindow(m_Handle, WM_PlayGRAPHNOTIFY, IntPtr.Zero);
m_MediaControl = m_FilgraphManager as IMediaControl;
m_MediaControl.RenderFile(m_FileName);
int i = m_MediaControl.Run();
FilterState fs = FilterState.Running;
int msTimeout = 50000;
i = m_MediaControl.GetState(msTimeout, out fs);通过fs 的值发现文件正在播放中( FilterState.Running),但是就没有声音出来?请大家帮忙看看会是什么原因导致的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货