Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

alsa configuration

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
tiblop
Posts: 1
Joined: 2015-10-21 01:15

alsa configuration

#1 Post by tiblop »

hello,
i have a beagleblack bone device and i have two different cards, one for play sound and one for record , the one for recording is usb when the otherone is pluged in the BBB.
I'm trying to figured out what configuration file to have. For now i have :

pcm.usb
{
type hw
card 1
device 0
}

pcm.internal
{
type hw
card 0
device 0
}

pcm.!default
{
type asym
playback.pcm
{
type plug
slave.pcm "internal"
}
capture.pcm
{
type plug
slave.pcm "usb"
}
}

ctl.!default
{
type asym
playback.pcm
{
type plug
slave.pcm "internal"
}
capture.pcm
{
type plug
slave.pcm "usb"
}
}

but it is not working. If I reload alsa then i cannot open alsamixer anymore( alsamixer work fine if i delete the configuration file ) :

ALSA lib dlmisc.c:254snd1_dlobj_cache_get) Cannot open shared library /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_ctl_asym.so
cannot open mixer: No such device or address

and i cannot play sound :

aplay /usr/share/sounds/alsa/Front_Center.wav
aplay: main:682: audio open error: Device or resource busy

configuration:
debian weezy

cat /proc/asound/pcm
00-00: AIC3X tlv320aic3x-hifi-0 : : playback 1 : capture 1
01-00: USB Audio : USB Audio : capture 1

please help
thanks

Post Reply