mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
bcbab7ad8e
commit
4550b2a315
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ void Instance::Inner::start(Fn<void(Update)> updated, Fn<void()> error) {
|
||||||
av_opt_set_int(d->codecContext, "refcounted_frames", 1, 0);
|
av_opt_set_int(d->codecContext, "refcounted_frames", 1, 0);
|
||||||
|
|
||||||
d->codecContext->sample_fmt = AV_SAMPLE_FMT_FLTP;
|
d->codecContext->sample_fmt = AV_SAMPLE_FMT_FLTP;
|
||||||
d->codecContext->bit_rate = 64000;
|
d->codecContext->bit_rate = 32000;
|
||||||
d->codecContext->channel_layout = AV_CH_LAYOUT_MONO;
|
d->codecContext->channel_layout = AV_CH_LAYOUT_MONO;
|
||||||
d->codecContext->sample_rate = kCaptureFrequency;
|
d->codecContext->sample_rate = kCaptureFrequency;
|
||||||
d->codecContext->channels = 1;
|
d->codecContext->channels = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue