> I assume that the every sink that supports PCM will have one format with
> PA_ENCODING_PCM in its list of supported formats. With the extended API,
> I'd like to treat PCM and compressed formats as being equal as much as
> possible.

ok, now I get it. I didn't see the PA_ENCODING_PCM on the first line...

Still, I am not clear about the negociation. the client would need to
use pa_stream_new_extended with multiple formats, and then get the
actual format with get_format_info. If my understanding is correct,
then maybe you would need a list of formats instead of just one?

>> - in case the routing changes, for example if you plug HDMI or BT, how
>> do we change the connection?
>
> The plan is to have clients disconnect and recreate the stream. We could
> eventually look at a convenience API to do this.

Yes, we can do this later.
-Pierre
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to