[转贴]Windows Mixer Architecture

Mixers

Audio mixers are an integral part of most sound card hardware used on Microsoft Windows computers. Typically, sound hardware will have one mixer driver associated with it. So if you have two sets of sound card hardware (for example, built-in hardware and a USB or FireWire sound card), you will have two mixers drivers available in your system.

This doesn't have to be the case, however. Some specialised sound hardware does not have a mixer at all. Some other sound hardware has more than one mixer driver associated with it.

The sound hardware drivers determine the quantity and capability of the mixers in a system.

Destinations

Sound hardware provides a number of signal destination lines (i.e. places that audio goes to). Typically, they provide at least two:

·A playback destination, the destination used to play back audio through the loudspeakers or headphones attached to the computer  
·A recording destination, the destination used to record audio to audio files on the computer.  

More complicated sound cards may have more destinations that this. For example, they may have an extra destination for sending audio to telephone lines, or they may have separate playback destinations for headphones and loudspeakers.

Specialised sound hardware may have only one destination in the mixer. For example, a USB microphone may only have one destination for recording and USB speakers may only have one destination for playback.

Destinations have a number of properties that can be accessed by software, including a user-friendly name, the type of each destination, and the type of hardware that they are connected to.

The sound hardware driver determines the quantity and type of destinations in a mixer.

Sources

The audio that goes to the destinations must come from somewhere, so each destination is normally associated with one or more source lines. The source lines are typically associated (as you might expect) with microphone, line in, synthesizer etc.

Like destinations, sources have a number of properties that can be accessed by software, including a user-friendly name, the type of each source, and the type of hardware that they are connected to.

The sound hardware driver determines the quantity and type of sources in a mixer.


Controls

Sources and destinations may have controls associated with them. Usually (but not always) the controls include individual volume controls and mute switches for each source and for the destination. Sometimes extra controls are provided for tone control, gain boost, and other effects.

Controls also have a number of properties that can be accessed by software, including a user-friendly name and the type of each control. They also have values (as you might expect!) that you can read and write to alter the way the mixer operates.

The sound hardware driver determines the quantity and type of the controls in a mixer.

Mixer architecture for a single destination

Given destinations, sources, and controls, the signal path for a single mixer destination looks something like this:




clip0001


and the architecture for a complete mixer looks something like this:



clip0002



Note that the mixer sections for each destination are normally completely separate. However, some mixer drivers make the destination of one section one of the sources for another. Typically, a playback destination is linked to one of the source lines for the recording destination (Creative Sound Blaster drivers call this 'What-U-Hear'; other drivers call this 'Wave Out' or similar). However,

The mixer architecture is wholly determined by the sound hardware driver.

Remember that. It is important if you want to develop applications that will work with many different types of sound hardware.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值