28 Dec
2016
28 Dec
'16
8:17 p.m.
Giedrius Trainavičius wrote:
What we want to achieve is for user to be able to select our sound card in the 'volumealsa' widget and all the software, such as internet browsers, mplayer, etc... would by default, without any further configuration, be able to output sound as usual.
I've looked at that widget's source, and it indeed hardcodes "hw" when switching cards.
(It's possible that sample rate conversion is seen as using too much CPU.)
The correct way to set the default card would be defaults.pcm.card, but this might not work with customized conf files.
What hardware bus does your device use? Doesn't the I2S/DMA controller support 16-bit samples?
Regards, Clemens