Home How to get List of Audio Soundcards and Drivers of PC using Java
Reply: 1

How to get List of Audio Soundcards and Drivers of PC using Java

Ahmad Shoaib
1#
Ahmad Shoaib Published in 2017-12-06 10:02:07Z

How can I get the list of Soundcards and Audio Drivers of PC in java. OS, I am currently using is Windows. I would be grateful if I could get some assistance in this regards.

Иван Иванушкин
2#
Иван Иванушкин Reply to 2017-12-06 10:39:04Z

May be here... https://docs.oracle.com/javase/tutorial/sound/accessing.html

Mixer.Info[] infos = AudioSystem.getMixerInfo();
    for (int i = 0; i < infos.length; i++) {
        Mixer.Info info = infos[i];

        System.out.println(String.format("Name [%s], description - [%s]\n", info.getName(), info.getDescription()));
        System.out.println(info.getDescription());
    }
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.309041 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO