Initialize the specified sample spec and return a pointer to it. The sample spec will have a defined state but pa_sample_spec_valid() will fail for it.
Definition at line 98 of file sample.c.
References pa_sample_spec::channels, pa_sample_spec::format, PA_SAMPLE_INVALID, and pa_sample_spec::rate.
spec->format = PA_SAMPLE_INVALID;
spec->rate = 0;
spec->channels = 0;