Re: PCM audio output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Brad,

On Thu, Sep 1, 2011 at 6:31 PM, Brad Midgley <bmidgley@xxxxxxxxx> wrote:
> Johan,
>
>> If your system uses PulseAudio you're in luck since it has built-in
>> support for this. However, pulse expects the kernel to provide an ALSA
>> device abstraction for the PCM hardware link to the Bluetooth
>> controller. You can tell the bluetooth-device module the name of this
>> special ALSA device through the sco_sink and sco_source parameters.
>
> Are you aware of anyone who has put these pieces together in something
> that we can look at? I've seen discussed what it would look like a
> couple of times but not specifics yet.

MeeGo harmattan use sco_sink and sco_source, passed to PA bluetooth
module, instead of the socket/HCI routing. What I think we could have
been done is somehow require the driver to tag alsa device properly so
we can automatically detect and route the audio properly without
having to hardcode the alsa device in sco_sink/sco_source.

> I see the doc/media-api.txt. Are there tests or examples of the
> minimal media calls to make sco connection monitoring work?

We can probably use the capabilities of the endpoint to set the
routing so PA do the detections, actually I guess this could probably
remove any need to have the audio routing hardcoded in audio.conf. For
the media/endpoint you can play around with test/simple-endpoint to
automatically acquire the transport when configured.

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux