Windows 8的 - 低延迟音频 [英] Windows 8 - low latency audio

查看:299
本文介绍了Windows 8的 - 低延迟音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑开发针对即将推出的Windows 8应用程序的应用程序需要低延迟录音和回放,我试图找出操作系统是否将支持(而不是的其他平台)

I'm considering developing an app for the upcoming Windows 8. The app requires low-latency audio recording and playback, and I'm trying find out whether the OS will support that (as opposed to other platforms).

所以,想什么,我知道的是:

So what I'd like to know is:


  1. 有没有在Windows 8?
  2. 低延迟的音频API
  3. 将它支持比PC(例如片剂)?其他的平台

  1. Is there a low-latency audio API in Windows 8?
  2. Will it be supported on platforms other than PC (e.g. tablets)?

谢谢!

推荐答案

WASAPI 是在Windows Vista中引入的低延迟音频API。它既是桌面,并在Windows 8 Metro风格的应用程序可用,因为它是一个非常低级的API,使用它并不简单,但它给你最大的功率。它将工作在Windows 8和新崛起的Windows RT(ARM)。

WASAPI was introduced with Windows Vista as the low-latency audio API. It is available both to desktop and to Metro style applications on Windows 8. Because it is a very low-level API, using it is not simple, but it gives you the most power. It will work on both Windows 8 and the newly-minted Windows RT (Arm).

此外,还提供 XAudio2 这是一个稍微更高级别的API,它会更容易的工作。它是替代的DirectSound,是专为游戏开发人员,但可能满足您的需要。这也是适用于在Windows 8和Windows RT。

Also available is XAudio2 which is a slightly higher-level API which will be easier to work with. It is the replacement for DirectSound and is designed for game developers, but may work for your purposes. This also is available to both Windows 8 and Windows RT.

有在这条底线<一个有点两种API的比较href=\"http://msdn.microsoft.com/en-us/library/windows/desktop/ee415813%28v=vs.85%29.aspx\">article.我将开始与XAudio2并移动到WASAPI只有当你发现XAudio2不能满足您的需求。

There is a bit of comparison of the two APIs at the bottom of this article. I would start with XAudio2 and move to WASAPI only if you find XAudio2 doesn't meet your needs.

这篇关于Windows 8的 - 低延迟音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆