package require sound
foreach jack [snack::mixer inputs] {
puts $jack
}
I expected to get a list with identifiers like Line1, Mic, etc, but I get the following garbage:
Ðnf
I wanted to build a dropbox list to choose a mixer input to record from. I am on Linux, using Tcl 8.6 and snack extension 2.2.10.
Am I doing something wrong or this is a bug I should report upstream?
I did something similar using snack version 2.2 with Tcl/Tk version 8.6.
But is used the following code:
The result is a list of input devices name that I could set with:
This is part of a multi platform software that works on Linux too.
Of course you could use snack::audio to have a better qualified name.