Refactoring. Switch to python-alsaaudio for control.