Re: [PATCH] audio/pw: Report more accurate error when connecting to PipeWire fails

2024-09-18 Thread Markus Armbruster
Michal Privoznik writes: > According to its man page [1], pw_context_connect() sets errno on > failure: > > Returns a Core on success or NULL with errno set on error. > > It may be handy to see errno when figuring out why PipeWire > failed to connect. That leaves us with just one possible path

[PATCH] audio/pw: Report more accurate error when connecting to PipeWire fails

2024-09-18 Thread Michal Privoznik
According to its man page [1], pw_context_connect() sets errno on failure: Returns a Core on success or NULL with errno set on error. It may be handy to see errno when figuring out why PipeWire failed to connect. That leaves us with just one possible path to reach 'fail_error' label which is th