如何在C#中仅在耳机的左声道和耳机的右声道播放声音? [英] How to play sound only on the left channel of the headphone and only on the right channel of the headphone in c#?

查看:249
本文介绍了如何在C#中仅在耳机的左声道和耳机的右声道播放声音?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要仅在耳机的左声道上播放声音(.wav文件),而另一个文件仅在耳机的右声道上播放. 我是C#的新手,请帮助我解决此问题.

I have a requirement to play the sound (.wav file) only on the left channel of teh headphone and another file to play only on the right channel of the headphone. I am new to c #, please help me out to solve this problem.

推荐答案

我不认为仅WPF可以做到这一点,但是您可能想查看

I don't think that WPF alone can do that, but you might want to check out NAudio.

这篇关于如何在C#中仅在耳机的左声道和耳机的右声道播放声音?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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