2009-05-18 10:21:06

by Marcel Witte

[permalink] [raw]
Subject: Using alsa-lib for headsets: Invalid argument

Hi,

I'm trying to use bluez and alsa to play sound through a headset (HSP/A2DP)

I have the following .asoundrc:

pcm.bluetoothraw {
type bluetooth
profile auto
}

pcm.bluetooth {
type plug
slave {
pcm bluetoothraw
}
}

If I use the attached method I get an "Error applying the params to
PCM device bluetooth : Invalid argument". Has anybody an idea why?

Greets,
Marcel


Attachments:
bluez-alsa.c (2.44 kB)