While disabled the renderer does not have non-null stream formats. This means that setting the operating rate could cause a NullPointerException if there was a codec for reuse. Check for being enabled/started before trying to set the operating rate. After the renderer is enabled it should receive a new input format which will update the operating rate as needed. PiperOrigin-RevId: 235494384