不重置声音调用System.Media.SoundPlayer

上传者: meiren777 | 上传时间: 2021-04-15 19:03:41 | 文件大小: 76KB | 文件类型: ZIP
如何才能异步循环播放声音,并且重复调用播放时不会导致声音被重置,方法就是用新线程去播放声音,用线程阻塞等待播放或者停止的命令

文件下载

资源详情

[{"title":"( 36 个子文件 76KB ) 不重置声音调用System.Media.SoundPlayer","children":[{"title":"WindowsApp2","children":[{"title":".vs","children":[{"title":"WindowsApp2","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"WindowsApp2","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"WindowsApp2.xml <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"1.wav <span style='color:#111;'> 37.48KB </span>","children":null,"spread":false},{"title":"WindowsApp2.pdb <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false},{"title":"WindowsApp2.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.vb <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"WindowsApp2.xml <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"WindowsApp2.vbproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"windowsapp2.exe.licenses <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"WindowsApp2.vbproj.GenerateResource.cache <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"WindowsApp2.vbproj.FileListAbsolute.txt <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"WindowsApp2.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.0.AssemblyAttributes.vb <span style='color:#111;'> 307B </span>","children":null,"spread":false},{"title":"WindowsApp2.pdb <span style='color:#111;'> 53.50KB </span>","children":null,"spread":false},{"title":"WindowsApp2.exe <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"WindowsApp2.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"WindowsApp2.vbprojAssemblyReference.cache <span style='color:#111;'> 16.30KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"My Project.Resources.Designer.vb.dll <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"WindowsApp2.Form2.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Form2.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form2.vb <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"播放声音.vbproj <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"My Project","children":[{"title":"AssemblyInfo.vb <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"Settings.Designer.vb <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"Application.myapp <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Resources.Designer.vb <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"Application.Designer.vb <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"licenses.licx <span style='color:#111;'> 134B </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form1.Designer.vb <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"Form2.Designer.vb <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"WindowsApp2.sln <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明