Re: [PATCH v3 1/9] doc/media-api: Enable MediaEndpoint to expose remote SEP

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

 



On Monday 08 April 2019 12:41:06 Luiz Augusto von Dentz wrote:
> Hi Pali,
> 
> On Fri, Apr 5, 2019 at 7:47 PM Pali Rohár <pali.rohar@xxxxxxxxx> wrote:
> >
> > Hello, I have found another problem with this patch series.
> >
> > I have there Nokia N900 device with Community SSU updates which acts as
> > both A2DP sink and A2DP source.
> >
> > When I scan A2DP capabilities of Nokia N900 I get following output:
> >
> > $ ./tools/avinfo XX:XX:XX:XX:XX:XX
> > Connecting ...
> > Stream End-Point #1: Audio Source
> >         Media Codec: SBC
> >                 Channel Modes: Mono DualChannel Stereo JointStereo
> >                 Frequencies: 16Khz 32Khz 44.1Khz 48Khz
> >                 Subbands: 4 8
> >                 Blocks: 4 8 12 16
> >                 Bitpool Range: 2-64
> > Stream End-Point #2: Audio Sink
> >         Media Codec: SBC
> >                 Channel Modes: Mono DualChannel Stereo JointStereo
> >                 Frequencies: 16Khz 32Khz 44.1Khz 48Khz
> >                 Subbands: 4 8
> >                 Blocks: 4 8 12 16
> >                 Bitpool Range: 2-64
> >
> > $ qdbus --system org.bluez
> > /
> > /org
> > /org/bluez
> > /org/bluez/hci0
> > /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX
> > /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/fd2
> > /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/player0
> > /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep1
> > /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep2
> > /org/bluez/test
> >
> > So there is one SEP as Audio Source and one SEP as Audio Sink.
> >
> > But when I ask sep1 and sep2 for UUID via dbus, I get that both are just
> > Audio Sinks:
> >
> > $ qdbus --system org.bluez /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep1 org.bluez.MediaEndpoint1.UUID
> > 0000110a-0000-1000-8000-00805f9b34fb
> >
> > $ qdbus --system org.bluez /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep2 org.bluez.MediaEndpoint1.UUID
> > 0000110a-0000-1000-8000-00805f9b34fb
> >
> > So this is a clear bug.
> 
> I will send a fix shortly.

I tested patch which is in bluez master git repository and it is working
fine. I needed to fix my pulseaudio code as I have there switched SINK
and SOURCE macros.

-- 
Pali Rohár
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: PGP signature


[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