GetMovieAudioVolumeLevels()是否支持两个以上的音频通道?

时间:2022-02-10 00:12:46

I have some code that uses GetMovieAudioVolumeLevels() to get levels of a QuickTime movie during playback.

我有一些代码使用GetMovieAudioVolumeLevels()来在播放期间获取QuickTime影片的级别。

I have an 8 audio channel QuickTime movie, but using the GetMovieAudioVolumeLevels() call it only ever returns 2 channels. I am using kQTAudioMeter_DeviceMix, and right now I'm assuming because my MacPro can only actually playback 2 channels of audio (left and right) QuickTime is mixing the 8 channels down to 2 channels.

我有一个8音频通道QuickTime电影,但使用GetMovieAudioVolumeLevels()调用它只返回2个频道。我正在使用kQTAudioMeter_DeviceMix,现在我正在假设,因为我的MacPro只能实际播放2个音频通道(左和右)QuickTime将8个通道混合到2个通道。

Does anyone have any more experience with this?

有没有人有这方面的经验?

Thanks.

1 个解决方案

#1


It appears that "channels are automatically mixed-down as needed (when playing multichannel sound through a stereo output, for example)."

似乎“通道根据需要自动混合(例如,通过立体声输出播放多声道声音时)。”

Does SGGetChannelVolume do what you need?

SGGetChannelVolume能做你需要的吗?

#1


It appears that "channels are automatically mixed-down as needed (when playing multichannel sound through a stereo output, for example)."

似乎“通道根据需要自动混合(例如,通过立体声输出播放多声道声音时)。”

Does SGGetChannelVolume do what you need?

SGGetChannelVolume能做你需要的吗?