Skip to contentSkip to conversation

about UCM on bluetooth headset

DISCUSSION Lu Guanqun 3 participants 4 messages Aug 22, 2011

lore
Share & tools
lore

Lu Guanqun

author
#0 lore raw

Hi Liam,

In alsa-libs:include/use-case.h, there are below lines:

* a conversation etc. The device describes the physical audio capture and playback
* hardware i.e. headphones, phone handset, bluetooth headset, etc.

I'm not quite clear about how to set a use case for bluetooth headset. According to my understanding, bluetooth doesn't fall into the category of ALSA, therefore there's no such direct devices for it.

Could you shed some lights on this? What's the best practises to use UCM with bluetooth?

Signature · 1 line
guanqun
#1 lore raw
Quoted 7 lines · Lu Guanqun

Hi Liam,

In alsa-libs:include/use-case.h, there are below lines:

* a conversation etc. The device describes the physical audio capture and playback
* hardware i.e. headphones, phone handset, bluetooth headset, etc.

Quoted 7 lines

I'm not quite clear about how to set a use case for bluetooth headset. According to my understanding, bluetooth doesn't fall into the category of ALSA, therefore there's no such direct devices for it.

Could you shed some lights on this? What's the best practises to use UCM with bluetooth?

This is intended for systems where the BT audio is integrated in some way with the other audio ICs. It's intended to configure the other audio devices to allow use cases involving BT in such systems.

Liam

author
#2 lore raw
Quoted 12 lines · Liam Girdwood
Quoted 11 lines · Lu Guanqun

Hi Liam,

In alsa-libs:include/use-case.h, there are below lines:

* a conversation etc. The device describes the physical audio capture and playback
* hardware i.e. headphones, phone handset, bluetooth headset, etc.

I'm not quite clear about how to set a use case for bluetooth headset. According to my understanding, bluetooth doesn't fall into the category of ALSA, therefore there's no such direct devices for it.

Quoted 7 lines
Quoted 3 lines

Could you shed some lights on this? What's the best practises to use UCM with bluetooth?

This is intended for systems where the BT audio is integrated in some way with the other audio ICs. It's intended to configure the other audio devices to allow use cases involving BT in such systems.

Hi Liam,

Thanks, I got your point. For example, where BT HSP is implemented over ALSA PCM, it's most probably exposed as an ALSA device, then we can configure it.

Signature · 1 line
guanqun
#3 lore raw
In reply to Liam Girdwood
Quoted 11 lines · Liam Girdwood
Quoted 5 lines · Lu Guanqun

* a conversation etc. The device describes the physical audio capture and playback
* hardware i.e. headphones, phone handset, bluetooth headset, etc.

Could you shed some lights on this? What's the best practises to use UCM with bluetooth?

This is intended for systems where the BT audio is integrated in some way with the other audio ICs. It's intended to configure the other audio devices to allow use cases involving BT in such systems.

Specifically it's for BT SCO (in call 8kHz headset modes). In call audio generally doesn't go through the CPU, the BT device has a path to the baseband via some other route which is typically similar to or part of the connection the CODEC has which bypasses the CPU entirely allowing the CPU to be suspended.

[Liam, your mailer still isn't word wrapping within paragraphs.]