Skip to content

Commit 1e80e7f

Browse files
committed
daily-python(demos): update audio renderer sample rate
1 parent 061f63a commit 1e80e7f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

demos/gtk/gtk_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def on_join_or_leave(self, button):
114114
self.__wave = wave.open(f"participant-{participant_id}.wav", "wb")
115115
self.__wave.setnchannels(1)
116116
self.__wave.setsampwidth(2) # 16-bit LINEAR PCM
117-
self.__wave.setframerate(48000)
117+
self.__wave.setframerate(16000)
118118

119119
self.join(meeting_url, participant_id)
120120
self.__button.set_label("Leave")

demos/qt/qt_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def on_join_or_leave(self):
106106
self.__wave = wave.open(f"participant-{participant_id}.wav", "wb")
107107
self.__wave.setnchannels(1)
108108
self.__wave.setsampwidth(2) # 16-bit LINEAR PCM
109-
self.__wave.setframerate(48000)
109+
self.__wave.setframerate(16000)
110110

111111
self.join(meeting_url, participant_id)
112112
self.__button.setText("Leave")

0 commit comments

Comments
 (0)