Re: Guppy - How to create a new audio role

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

 



Hello,
thanks for your reply.
You are right but perhaps as a user I would that mediaplayer is working even if I see the map in the navigation app, so the multimedia stream is never released by app.
For this reason, at the moment I would create a custom role for the videoplayer app.
Where should I create the stream? Where is the config file located?

Regards,
Francesco


Il giorno lun 24 giu 2019 alle ore 16:30 Loïc <loic.collignon@xxxxxxx> ha scritto:

Hello,

You should not create a new role, but instead use the multimedia role and blame the app that does not release it when it should.

The whole point of all this layer is to manage permissions and priorities so that you don't mix every audio stream into an audio mess that no one can understand.

If you really really want your own role for debugging purposes, then you are half the way down.

You have to create a "stream", which is what you've done. A stream will translate to an alsa sink.

Then you have to create a role and bind it to your stream.

See https://docs.iot.bzh/docs/en/master/apis_services/reference/audio/high-level-api/README.html

---
Regards,
Loïc Collignon [IoT.bzh]


On 2019-06-24 15:48, Francesco CESAREO (Kineton) wrote:


Hi all,
I developed a new videoplayer application for guppy version. It works if I set as audio role multimedia or navigation, but if the audio is busy I can't attach to device properly.
So how can I create a new audio role? 
I added information regarding the new role in "/usr/libexec/agl/4a-hal/etc/hal-4a-2ch-generic-usb.json" but I think it isn't the right way because through command "4a-api roles" I haven't the full role list.
Thank you,
Francesco

_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions


--


Francesco Cesareo
R&D Program Manager 

           
Via E. Gianturco, 23 - 80146 Napoli - complesso Mecfond
mobile: +39 3401500330 | office: +39 08118639910

Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks.

_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux