翻译自官网《Core Audio Services》
Core Audio服务
本章列出了Core Audio中可用的服务。你会发现在iOS中,这些服务被安排进了如下这些框架中:
- Audio Toolbox-----应用级服务:文件,流,告警,回放以及录音。在iOS中,包含了Audio Session服务。
- Audio Unit------Audio unit和音频编解码服务。
- AV Foundation------一个objective-c音频回放接口。
- Core Audio-----数据类型以及OS X中的硬件服务。
- OpenAL-----定位的、低延迟的音频服务。
- Core Audio Kit-----Audio unit用户接口服务。
- Core MIDI-----应用级别MIDI支持。
- Core MIDI Server----MIDI服务和驱动服务。
AudioToolbox.framework中的
头文件
AudioConverter.h
一系列函数,数据类型和常量组成。
AudioToolbox.framework中的头文件AudioFile.h
中的一系列函数,数据类型和常量组成。
AudioToolbox.framework中的头文件AudioFileStream.h
中的一系列函数,数据类型和常量组成。
Audio Format Services(音频格式服务)
音频格式服务让你可以处理音频数据格式信息。其他服务,例如音频文件服务同样含有有这个用途的函数。当你所想做的只是获取音频数据格式信息时,你使用音频格式服务。在OS X系统中,你还可以用这个服务获取系统特征,例如可用的编码采样速率。音频格式服务由声明在框架AudioToolbox.framework中的头文件AudioFormat.h
中的一系列函数,数据类型和常量组成。
Audio Process Graph Services(音频流程图服务)
音频流程图服务让你可以在应用中创建和维护音频处理图。在iOS和OS X中,它由声明在框架AudioToolbox.framework中的头文件AUGraph.h
中的一系列函数,数据类型和常量组成。
Audio Queue Services(音频队列服务)
音频队列服务让你可以播放和录制音频。它同样可以让你暂停和继续播放、循环以及同步多声道音频。在iOS和OS X中,它由
AudioToolbox.framework中的头文件AudioQueue.h
中的一系列函数,数据类型和常量组成。
-
AUComponent.h
-
AudioComponent
.h (iOS only) -
AudioOutputUnit.h
-
AudioUnitParameters.h
-
AudioUnitProperties.h
-
AUCocoaUIView.h
-
AudioUnitCarbonView.h
-
AudioUnitUtilities.h
(inAudioToolbox.framework
) -
LogicAUProperties
.h -
MusicDevice.h
AudioServices.h
header file in
AudioToolbox.framework
.
This service consists of the functions, data types, and constants declared in the CoreAudioClock.h
header file in AudioToolbox.framework
.
which consists of the functions, data types, and constants declared in the following header files in CoreMIDI.framework
:
-
MIDIServices.h
-
MIDISetup.h
-
MIDIThruConnection.h
-
MIDIDriver.h
This interface consists of the functions, data types, and constants declared in the following header files in CoreMIDIServer.framework
:
-
CoreMIDIServer.h
-
MIDIDriver.h
HAL Services consists of the functions, data types, and constants declared in the following header files in CoreAudio.framework
:
-
AudioDriverPlugin.h
-
AudioHardware.h
-
AudioHardwarePlugin.h
-
CoreAudioTypes.h
(Contains data types and constants used by all Core Audio interfaces) -
HostTime.h