feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
from misc.utility.scons_hints import *
|
||||
|
||||
Import("env")
|
||||
|
||||
|
|
|
|||
|
|
@ -725,7 +725,8 @@ Error AudioDriverPulseAudio::init_input_device() {
|
|||
int input_buffer_frames = closest_power_of_2(input_latency * mix_rate / 1000);
|
||||
int input_buffer_size = input_buffer_frames * spec.channels;
|
||||
|
||||
pa_buffer_attr attr;
|
||||
pa_buffer_attr attr = {};
|
||||
attr.maxlength = (uint32_t)-1;
|
||||
attr.fragsize = input_buffer_size * sizeof(int16_t);
|
||||
|
||||
pa_rec_str = pa_stream_new(pa_ctx, "Record", &spec, &pa_rec_map);
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ class AudioDriverPulseAudio : public AudioDriver {
|
|||
public:
|
||||
virtual const char *get_name() const override {
|
||||
return "PulseAudio";
|
||||
};
|
||||
}
|
||||
|
||||
virtual Error init() override;
|
||||
virtual void start() override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue