If it helps,
the pulse client API crashes on
pa_assert(channels > 0);
called from:
pa_cvolume_set(&priv->volume, priv->channel_map.channels, new_volume_value);
I'm guessing priv->channel_map.channels is zero because it has not been initialized, i e slider_menu_item_update_volume is called before slider_menu_item_populate or slider_menu_item_update.
If it helps,
the pulse client API crashes on
pa_ assert( channels > 0);
called from:
pa_cvolume_ set(&priv- >volume, priv->channel_ map.channels, new_volume_value);
I'm guessing priv->channel_ map.channels is zero because it has not been initialized, i e slider_ menu_item_ update_ volume is called before slider_ menu_item_ populate or slider_ menu_item_ update.