I am developing a script which deals with sound recording.
As user potentially can have multiple sound cards attached, I would like to give him/her a chance to select desired one. The software I use for actual recording asks for numeric "Device ID".
Is there any way to retreive list of Device IDs along with soundcards' names from command line (terminal)?
Best Answer
system_profiler
is the tool in mac OS to show hw or sw configuraion.Get the datatye you want to look for using
--listDataTypes
.Then fire the command,