使用SetPan函数在直接声音中平移 [英] Panning in Direct sound wthout using SetPan function

查看:145
本文介绍了使用SetPan函数在直接声音中平移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以在不使用SetPan功能的情况下以直接声音平移WAV文件。如果是这样的话?



这是改变两个不同扬声器(左右)的音量,以模拟声音在播放器周围移动。

解决方案

这可能会有所帮助,即使不确定你想要达到的目标(参见上面的评论):



Ultimate Managed DirectSound 9教程第2部分:管理3D声音 [ ^ ]

I was wondering if it is possible to pan a WAV file in direct sound without using the SetPan function. If so how?

That is change the volume on 2 different speakers, right and left, to simulate that the sound is moving around the player.

解决方案

This might be of help, even if not sure about what you are trying to achieve exactly (see my comment above):

The Ultimate Managed DirectSound 9 Tutorial Part 2: managing 3D Sounds[^]


这篇关于使用SetPan函数在直接声音中平移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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