Re: Bug#744849: espeakup: usb speakers inaccessible on use and during installation
On Thu, 17 Apr 2014, Samuel Thibault wrote:
Perhaps archlinux outputs to all cards at the same time? Or perhaps by
luck archlinux gets the USB soundcard as first one?
I'm pretty sure Debian prevents this as standard.
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# To choose audio output on another sound card, uncomment this and set as
+# appropriate (either a card number or a card name as seen in CARD= alsa
IMHO, 'cat /proc/asound/cards' is the simplest way to get this info. It
simply lists the cards without other noise.
Now if you need to specify a specific device on a card, that's a different
story, and I don't know if this even can be done like this.
Now, that will only be feasible for an installed system. About
debian-installer time, I guess we would ideally want to emit the synth
to all sound cards? I'm afraid espeakup might just not support this,
and we'd have to chose a card.
Having speech come from all cards could be confusing as they probably will
not be exactly in sync.
I'm wondering whether we really want to
provide the user with a way to select it at debian-installer time, just
like we don't make him select which graphic card should be used.
On one hand, it could be argued that any card during installation is
sufficient, the user can sort it out on the installed system.
On the other hand, some sound chips only support 48kHz 16-bit stereo (for
example), and I don't know if eSpeakup is intelligent enough to try
another card under such circumstances.
Maybe a soundcard selection could be added as a command parameter for the
cases when it's needed?