【发布时间】:2019-03-04 12:14:53
【问题描述】:
我编写了一个可以正常播放声音的程序,但是如何设置 3D 声音的位置,或者至少可以设置声音在右侧应该有多强以及声音有多强应该在左边?
到目前为止,这是我的代码:
WaveOut wavOut = new WaveOut();
wavOut.Init(new BlockAlignReductionStream(new WaveFileReader(File.OpenRead("Wav File")));
wavOut.Play();
while(wavOut.PlaybackState == PlaybackState.Playing)
{
Thread.Sleep(250);
}
【问题讨论】: