Lines Matching defs:fixed
3005 static void fixup_sample_spec(pa_native_connection *c, pa_sample_spec *fixed, const pa_sample_spec *original) {
3007 pa_assert(fixed);
3010 *fixed = *original;
3016 if (fixed->format == PA_SAMPLE_S32LE)
3017 fixed->format = PA_SAMPLE_FLOAT32LE;
3018 if (fixed->format == PA_SAMPLE_S32BE)
3019 fixed->format = PA_SAMPLE_FLOAT32BE;
3023 if (fixed->format == PA_SAMPLE_S24LE || fixed->format == PA_SAMPLE_S24_32LE)
3024 fixed->format = PA_SAMPLE_FLOAT32LE;
3025 if (fixed->format == PA_SAMPLE_S24BE || fixed->format == PA_SAMPLE_S24_32BE)
3026 fixed->format = PA_SAMPLE_FLOAT32BE;