Re: [pulseaudio-discuss] [PATCH] alsa-ucm: disallow null mdev argument into pa_alsa_open_mixer_by_name()

2020-07-06 Thread Tanu Kaskinen
On Wed, 2020-07-01 at 11:20 +0300, Eero Nurkkala wrote: > It's possible for mdev to be NULL. In this case, an assert is taken > in pa_alsa_open_mixer_by_name() with debug builds, and a crash with > release builds. However, it's possible to bypass this trouble by taking > the error path if mdev is

Re: [pulseaudio-discuss] How to differentiate pause and stop in pulseaudio.

2020-07-06 Thread Tanu Kaskinen
On Mon, 2020-06-15 at 09:15 +, Ramachandra Rao, Arun Kumar wrote: > Hi Team, > > > We have implemented a pulsemodule which listens on > sink_input_new_hook and establishes connection with AudioManager and > based on response from AudioManager, it sends PA_HOOK_OK or > PA_HOOK_CANCEL. > > >