Re: [RFC 0/7] A2DP MP3 support with media API

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

 



Hi Frédéric,

2012/3/22 Frédéric Dalleau <frederic.dalleau@xxxxxxxxxxxxxxx>:
> Hi,
>
> I'm trying to make A2DP MP3 work in pulseaudio using media API.
> In contrast to Unix API, media API lacks the possibility to reconfigure the
> transport BT_SET_CONFIGURATION. So I've defined a dbus API that offers a
> similar functionnality.
> First there is a MediaTransport.Codecs property to list supported codecs on a
> transport.
> Then there is a Reconfigure method that tries to reconfigure the transport
> to use a specified endpoint.
>
> I'm sending a patch on pulseaudio list for using this new APIs at same time.
>
> This is an RFC so feel free to comment, especially on the way a configuration
> could be specified.

I don't think reusing the same transport object is the best approach
here, I would prefer to create a new one and reconfigure transparently
when switching instead of trying to use the same transport. Btw with
A2DP we could in theory have multiple streams configured
simultaneously, so we could have multiple transports configured,
actually even active as AVDTP Start can take a list of seid, now we
could face some iop problems with such approach but we could rely on
AVDTP Close.


-- 
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