bugfix
This commit is contained in:
parent
59f59d7d66
commit
7c2768caa2
@ -126,7 +126,7 @@ class AudioTrackVad(MediaStreamTrack):
|
|||||||
|
|
||||||
def voice_duration(self):
|
def voice_duration(self):
|
||||||
duration = 0
|
duration = 0
|
||||||
[ f.samples * 1000 / f.sample_rate + duration for f in self.self.voiced_frames ]
|
[ f.samples * 1000 / f.sample_rate + duration for f in self.voiced_frames ]
|
||||||
return duration
|
return duration
|
||||||
|
|
||||||
async def write_wave(self):
|
async def write_wave(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user