obs-outputs: Use actual audio encoder sample rate
parent
9f96e691ae
commit
50b47a6861
|
@ -105,7 +105,7 @@ static void add_audio_encoder_params(struct dstr *cmd, obs_encoder_t *aencoder)
|
||||||
dstr_catf(cmd, "\"%s\" %d %d %d ",
|
dstr_catf(cmd, "\"%s\" %d %d %d ",
|
||||||
name.array,
|
name.array,
|
||||||
bitrate,
|
bitrate,
|
||||||
(int)audio_output_get_sample_rate(audio),
|
(int)obs_encoder_get_sample_rate(aencoder),
|
||||||
(int)audio_output_get_channels(audio));
|
(int)audio_output_get_channels(audio));
|
||||||
|
|
||||||
dstr_free(&name);
|
dstr_free(&name);
|
||||||
|
|
Loading…
Reference in New Issue