首页 人工智能 机器学习     /    C#播放音频文件音乐文件支持顺序播放异步播放暂停界面不卡顿

C#播放音频文件音乐文件支持顺序播放异步播放暂停界面不卡顿

上传者: naileiforever | 上传时间:2021/2/22 19:32:33 | 文件大小:6.77MB | 文件类型:RAR
C#播放音频文件音乐文件支持顺序播放异步播放暂停界面不卡顿
c#cs程序播放一组音频文件.为了界面不卡死,开了子线程.子线程是同步的,子线程如果是异步的话就不能顺序播放了吧.子线程如果异步播放就相当于只能播放最后一个声音文件.子线程如果同步播放则不能暂停,好像是卡死了.我把整个子线程停掉,也不能停止播放.后来找到了个回调函数问题处理.没积分的看我博客,加我传给你.

文件下载

资源详情

[{"title":"(87个子文件6.77MB)C#播放音频文件音乐文件支持顺序播放异步播放暂停界面不卡顿","children":[{"title":"Voice","children":[{"title":".vs","children":[{"title":"config","children":[{"title":"applicationhost.config <span style='color:#111;'>83.64KB</span>","children":null,"spread":false},{"title":"源码使用说明.txt <span style='color:#111;'>614B</span>","children":null,"spread":false}],"spread":true},{"title":"Voice","children":[{"title":"v15","children":[{"title":"sqlite3","children":null,"spread":false},{"title":".suo <span style='color:#111;'>79.50KB</span>","children":null,"spread":false},{"title":"Server","children":[{"title":"sqlite3","children":[{"title":"storage.ide <span style='color:#111;'>576.00KB</span>","children":null,"spread":false},{"title":"db.lock <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"Voice.v12.suo <span style='color:#111;'>32.50KB</span>","children":null,"spread":false},{"title":"Voice","children":[{"title":"Form5.Designer.cs <span style='color:#111;'>3.21KB</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"x86","children":[{"title":"Release","children":[{"title":"Voice.pdb <span style='color:#111;'>19.50KB</span>","children":null,"spread":false},{"title":"Voice.exe <span style='color:#111;'>7.50KB</span>","children":null,"spread":false},{"title":"Voice.exe.config <span style='color:#111;'>189B</span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"1.wav <span style='color:#111;'>93.41KB</span>","children":null,"spread":false},{"title":"Voice.pdb <span style='color:#111;'>73.50KB</span>","children":null,"spread":false},{"title":"Voice.exe <span style='color:#111;'>28.50KB</span>","children":null,"spread":false},{"title":"Voice.exe.config <span style='color:#111;'>189B</span>","children":null,"spread":false},{"title":"4.wav <span style='color:#111;'>507.86KB</span>","children":null,"spread":false},{"title":"3.wav <span style='color:#111;'>2.39MB</span>","children":null,"spread":false},{"title":"2.wav <span style='color:#111;'>5.48MB</span>","children":null,"spread":false},{"title":"5.mp3 <span style='color:#111;'>164.82KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"SoundTestForm.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'>3.29KB</span>","children":null,"spread":false},{"title":"Form3.cs <span style='color:#111;'>6.41KB</span>","children":null,"spread":false},{"title":"LastOne.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"Form2.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"WAVFile.cs <span style='color:#111;'>58.09KB</span>","children":null,"spread":false},{"title":"Form3.Designer.cs <span style='color:#111;'>4.49KB</span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'>517B</span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Release","children":[{"title":"Voice.pdb <span style='color:#111;'>19.50KB</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"Voice.exe <span style='color:#111;'>7.50KB</span>","children":null,"spread":false},{"title":"Voice.csproj.GenerateResource.Cache <span style='color:#111;'>954B</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"Voice.csprojResolveAssemblyReference.cache <span style='color:#111;'>2.33KB</span>","children":null,"spread":false},{"title":"Voice.csproj.FileListAbsolute.txt <span style='color:#111;'>723B</span>","children":null,"spread":false},{"title":"Voice.csproj.CoreCompileInputs.cache <span style='color:#111;'>42B</span>","children":null,"spread":false},{"title":"Voice.Properties.Resources.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":false},{"title":"Debug","children":[{"title":"Voice.pdb <span style='color:#111;'>73.50KB</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"Voice.LastOne.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"Voice.exe <span style='color:#111;'>28.50KB</span>","children":null,"spread":false},{"title":"Voice.Form3.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"Voice.csproj.GenerateResource.Cache <span style='color:#111;'>1.34KB</span>","children":null,"spread":false},{"title":"Voice.Form4.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'>7.05KB</span>","children":null,"spread":false},{"title":"Voice.Form1.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"Voice.SoundTestForm.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"Voice.Form2.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"Voice.csprojResolveAssemblyReference.cache <span style='color:#111;'>2.33KB</span>","children":null,"spread":false},{"title":"Voice.csproj.FileListAbsolute.txt <span style='color:#111;'>2.93KB</span>","children":null,"spread":false},{"title":"Voice.csproj.CoreCompileInputs.cache <span style='color:#111;'>42B</span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"Voice.Properties.Resources.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"Voice.Form5.resources <span style='color:#111;'>180B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Debug","children":[{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'>6.94KB</span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'>868B</span>","children":null,"spread":false},{"title":"Voice.csproj.CoreCompileInputs.cache <span style='color:#111;'>42B</span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"SoundTestForm.Designer.cs <span style='color:#111;'>1.17KB</span>","children":null,"spread":false},{"title":"Form4.Designer.cs <span style='color:#111;'>2.05KB</span>","children":null,"spread":false},{"title":"Form3.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"Form2.cs <span style='color:#111;'>1.72KB</span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'>2.94KB</span>","children":null,"spread":false},{"title":"Form4.cs <span style='color:#111;'>2.69KB</span>","children":null,"spread":false},{"title":"Form4.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"Form2.Designer.cs <span style='color:#111;'>2.61KB</span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"SystemMedia.cs <span style='color:#111;'>990B</span>","children":null,"spread":false},{"title":"SoundPlayerClass.cs <span style='color:#111;'>2.09KB</span>","children":null,"spread":false},{"title":"Form5.resx <span style='color:#111;'>5.68KB</span>","children":null,"spread":false},{"title":"SoundTestForm.cs <span style='color:#111;'>16.92KB</span>","children":null,"spread":false},{"title":"Form5.cs <span style='color:#111;'>3.48KB</span>","children":null,"spread":false},{"title":"Voice.csproj <span style='color:#111;'>6.29KB</span>","children":null,"spread":false},{"title":"源码使用说明.txt <span style='color:#111;'>614B</span>","children":null,"spread":false},{"title":"LastOne.cs <span style='color:#111;'>2.16KB</span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'>189B</span>","children":null,"spread":false},{"title":"LastOne.Designer.cs <span style='color:#111;'>3.83KB</span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'>5.48KB</span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'>249B</span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'>1.28KB</span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'>1.07KB</span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'>2.76KB</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Voice.sln <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"源码使用说明.txt <span style='color:#111;'>614B</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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