windows-xp – 无法播放24bit音频
我试图用我的AutoHotkey应用程序播放一个24bit音频文件.它只是使用
SoundPlay. Windows 7没有问题,但Windows XP用户无法播放24bit文件.
documentation说:
文章How to play 24bit WAV files in Windows Media Player中提到的可能修复程序正在修复Windows Media Player的问题,但不适用于autohotkey: 分步指南 >下载Legacy HD Audio Filter 预期的行为:Windows Media Player和AutoHotkey应用程序中的音频文件播放没有错误. 进一步的调查 正如AutoHotKey论坛中提到的,SoundPlay正在使用mciSendString,并且可以通过直接调用更多关于错误性质的信息. 使用mciSendString替代DLL调用我得到error message 320对应于MCIERR_WAVE_OUTPUTSINUSE
我的AutoHotkey应用程序如何在Windows XP中播放24bit音频文件? 基于SoundPlay的测试应用(download) #NoEnv SetWorkingDir %A_ScriptDir% FileSelectFile,f SoundPlay,%f% Msgbox,You should hear audio - except for 24bit wave files under Windows XP. 基于MCI的测试应用(download) #NoEnv SetWorkingDir %A_ScriptDir% FileSelectFile,f TryPlaySound(f) Msgbox,You should hear audio - except for 24bit wave files under Windows XP. ; If SoundPlay does not work TryPlaySound TryPlaySound( mFile ) { ; SKAN www.autohotkey.com/forum/viewtopic.php?p=361791#361791 VarSetCapacity( DN,16 ),DLLFunc := "winmm.dllmciSendString" ( A_IsUnicode ? "W" : "A" ) DN := DllCall(DLLFunc,Str,"play " """" mFile """" "",Uint,0) Return DN }
我会将24位文件转换为16位文件,如果这一切都是可行的.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 在Windows Subsystem for Linux中执行批处理文件
- windows-server-2008 – 修改Active Directory连接对象
- windows – 如何使用LaTeX编写路径?
- windows-server-2012-r2 – 如何从PS远程会话启动服务器核心
- DLL – 在Firefox扩展中使用Firebreath生成的插件?
- windows – 查看布局rebol 3无法正常工作
- WiX:在安装MSI期间显示“复制新文件文件:[1],目录:[9],大
- Windows 2008 Microsoft磁盘碎片整理程序
- windows – 一起使用mod_log_rotate和rotatelogs.exe有什么
- 在Windows安装MySQL