a2dp to stereo speakers

Plugging in devices such as LAN adapters, Wi-Fi cards, printers, etc. to Arch Linux ARM.

Re: a2dp to stereo speakers

Postby pepedog » Sat Aug 06, 2011 6:09 pm

/etc/asound.conf alter to your mac address
$this->bbcode_second_pass_code('', 'pcm.!default {
type plug
slave.pcm "bluetooth"
}

ctl.mixer0 {
type hw
card 0
}

pcm.bluetooth {
type bluetooth
device "00:16:8D:01:63:B2"
profile "auto"
}')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: a2dp to stereo speakers

Postby ygator » Sat Aug 06, 2011 8:11 pm

Thanks, that worked like a charm. It even made mpg123 work as well.

I'd like to get espeak working without first having to create a wave file and then to play the wave file.
$this->bbcode_second_pass_code('', '# espeak "hello"
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1108
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1108
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
')

Should the mixers work (amixer/alsamixer)? I get
$this->bbcode_second_pass_code('', '# amixer -D btspeakers
ALSA lib audio/ctl_bluetooth.c:167:(bluetooth_send_ctl) Unable to receive new volume value from server
ALSA lib audio/ctl_bluetooth.c:161:(bluetooth_send_ctl) Unable to request new volume value to server: Broken pipe
amixer: Mixer btspeakers load error: Broken pipe
')

Do you know of any software which allows for bluetooth contol (Next, Prev, Pause, Play) to work?
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 14 guests