pa_sample_size() calls pa_assert(pa_sample_spec_valid(spec)), so it will
crash if the spec is invalid.
We prevent this by checking the spec validity on our own.
the |
pa_sample_size() calls pa_assert(pa_sample_spec_valid(spec)), so it will
crash if the spec is invalid.
We prevent this by checking the spec validity on our own.
Open Settings -> Playback, check that Pulseadio doesn't crash anymore.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |