使用Csharp选择声卡 [英] selecting sound cards using Csharp

查看:86
本文介绍了使用Csharp选择声卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我是Csharp的初学者,我想知道如何处理多个声卡(输入和输出),更清楚地知道如何在使用Csharp的那些声卡中选择声卡,请需要您的帮助

Hello

I am a beginner in Csharp, I''d like to know how to handle multiple sound cards (both input and output), more clearly how can I select a sound card among those I have using Csharp,I need your help please

推荐答案

您要如何选择它?根据您的要求,使用声音的API之一可以允许您访问设备列表,并可以选择其中一种. DirectSound,FMod等.
How do you want to select it, for what? Based upon you requirements, one of the APIs for working with sound might allow you access to the list of devices, and enable you to choose one. DirectSound, FMod etc.


您需要访问声音设备,而不是声卡.您的程序可以枚举声音设备;麦克风和扬声器.然后,您的程序可以为用户提供选择使用哪个麦克风和使用哪个扬声器的机会.
You need to access sound devices, not sound cards. Your program can enumerate the sound devices; the microphones and speakers. Then your program can offer the user the opportunity to select which microphone to use and what speaker(s) to use.


这篇关于使用Csharp选择声卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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