[Clam-devel] Choosing default ALSA device

Xavier Amatriain xavier at create.ucsb.edu
Tue May 29 17:13:55 PDT 2007


Having two cards in my system I have tried unsuccessfully to have
SMSTools and Annotator choose the default card selected in ALSA. It
turns out that the "offending" code is in ALSAAudioDevice.cxx:324

The only way around it that I had was to hardcode my "default" device
which turns out to be plughw:1,0. But, is there a way to return whatever
the user has configured as default in ALSA itself?


-- 
/*********************************
 *       Xavier Amatriain        *
 *  Associate Director - MATi    *
 *  Research Director - CREATE   *
 *    UCSB, Santa Barbara CA     *
 *      1-(805)- 893 83 52       *
 ********************************/





More information about the clam-devel mailing list