audio-device Questions
1
Solved
I am looking for a solution to get the default audio device via Powershell.
In best case, it could work via embedded C#-code to directly use IMMDeviceEnumerator::GetDefaultAudioEndpoint (see here I...
Jacquelynejacquelynn asked 18/12, 2019 at 13:56
0
For Android Api level 23, you can use AudioRecord.setPreferredDevice();
And you can also use:
AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
if (android.os....
Misinterpret asked 6/7, 2017 at 12:45
1
Solved
Is any a way to detect if headphones are plugged in or not via VBScript?
This link doesnt help Switching current active sound device using VBScript?
Polyphemus asked 23/11, 2015 at 13:45
0
how can i get all device info not using the method of api 23 ?
AudioDeviceInfo[] devices = audioManager.getDevices(AudioManager.GET_DEVICES_ALL); //or GET_DEVICES_OUTPUTS
is there any way?
In...
Karakorum asked 12/7, 2016 at 12:58
2
Solved
I am using amazing NAudio framework to get the list of the audio devices.
But as I see is impossible difference which audio device is PC's integrated audio and which is a headphones. I mean they h...
Barbarossa asked 1/12, 2015 at 15:39
3
Solved
There is no example how to detect if headphones are plugged in or not via C#.
I assume should be some event for that...
Does make sense to use WMI?
var searcher = new ManagementObjectSearcher("...
Chemaram asked 23/11, 2015 at 14:0
1
© 2022 - 2024 — McMap. All rights reserved.