使用核心音频提取浮动从默认的行出来的声音设备 [英] Using Core Audio to extract float from default line out sound device

查看:153
本文介绍了使用核心音频提取浮动从默认的行出来的声音设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在需要使用核心音频从声音从设备中提取花车一些帮助/指导。我已阅读关于彩车从AIFF提取类似的帖子。我的最终目标是沿着线的东西:

I am in need for some assistance/guidance with using Core Audio to extract floats from the sound out device. I have read similar posts regarding the extraction of floats from AIFF. My end goal is something along the lines of:


  • iTunes是播放歌曲

  • iTunes is playing a song

C / C ++使用核心音频节目
提取浮动值从声音
装置(实时)

C/C++ program using Core Audio extracts float values from the sound device (in real-time)

使用产生浮向量来执行
的阵列上的傅立叶变换
花车(可能使用VDSP从
苹果加速库) - 这部分我有所想通了:)

Use resulting float vector to perform Fourier Transformation on a array of floats (probably using vDSP from Apple's Accelerate Library) - This part I have somewhat figured out :)

注:我开发在Mac OS X(10.6 +)

Note: I am developing on Mac OS X (10.6+).

任何帮助将非常AP preciated。

Any help will be much appreciated.

推荐答案

这个问题来了频繁的核心音频邮件列表上。有没有简单的方法来完成你想要做什么。参见:

This question comes up frequently on the Core Audio mailing list. There is no easy way to accomplish what you want to do. See:

http://lists.apple.com/archives/ CoreAudio的-API / 2007 /月/ msg00066.html
http://lists.apple.com/archives/coreaudio-api/2009/Nov/msg00308.html

http://lists.apple.com/archives/coreaudio-api/2007/Jul/msg00066.html http://lists.apple.com/archives/coreaudio-api/2009/Nov/msg00308.html

您需要编写无论是KEXT或用户驱动的土地

You'll need to write either a kext or a user-land driver.

这篇关于使用核心音频提取浮动从默认的行出来的声音设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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