windows - 部署到橱窗商店后 C++ MIDI 不工作
问题描述
include <windows.h>
include <mmsystem.h>
int flag;
flag = midiOutOpen(&device, midiport, 0, 0, CALLBACK_NULL);
flag = midiOutShortMsg(device, message.word);
这些代码在我开发时工作但部署到Window Shop后,没有声音
部署到橱窗商店时,我已检查功能下的“背景媒体播放”
我能找到的文档是 UWP/CSharp,但我想写 C++
解决方案
推荐阅读
- tensorflow - 无法使用 GradientTape 重现 model.fit
- android - com.google.gson.JsonSyntaxException:java.lang.IllegalStateException:应为 BEGIN_ARRAY,但在第 1 行第 1 列为 STRING
- raml - 内联附加类型数据
- javascript - 如何从html输入字段中获取文本
- python - BeautifulSoup:对父子元素进行分类
- linux - 如何以字母顺序的另一个顺序访问或排序目录的文件?
- spring - 如何发布到 Spring Boot 执行器?
- node.js - Jest 测试 WebSocket 客户端 API
- html - 如何一张一张地滑入图像?
- java - 创建名为“hypermediaRepresentionModelProcessorConfigurator”的 bean 时出错