Support changed API in alsaaudio 0.4master
commitad14e426be24023e4b0f8fc42d88f32e86261198
authorKen Hayber <ken@hayber.us>
Sun, 14 Dec 2008 02:56:36 +0000 (13 18:56 -0800)
committerKen Hayber <ken@hayber.us>
Sun, 14 Dec 2008 02:56:36 +0000 (13 18:56 -0800)
tree294b61ea16b98aec5cf29790444193c2a3ec793c
parent6005f3095799abef841aa3fec977ece232f3e217
Support changed API in alsaaudio 0.4

Changed device/card selector from a string to an index.
Use new cards() call to find user input device name and
convert to the index.  Default to 0.
mixer.py
volume.py