Make create_audio_record not a static method
This commit is contained in:
parent
9d82000148
commit
78e48825ae
|
@ -127,8 +127,8 @@ class BaseAudioTaskApi(object):
|
||||||
+ self._running_mode.name)
|
+ self._running_mode.name)
|
||||||
self._runner.send(inputs)
|
self._runner.send(inputs)
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def create_audio_record(
|
def create_audio_record(
|
||||||
|
self,
|
||||||
num_channels: int,
|
num_channels: int,
|
||||||
sample_rate: int,
|
sample_rate: int,
|
||||||
required_input_buffer_size: int
|
required_input_buffer_size: int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user