Skip to content

Commit f0cb86a

Browse files
YiminWwangyoucao577
authored andcommitted
fix: add default value for pcm timestamp
1 parent a0c52ca commit f0cb86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/ten_ai_base/tts2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async def _process_input_queue(self, ten_env: AsyncTenEnv) -> None:
160160

161161

162162
async def send_tts_audio_data(
163-
self, audio_data: bytes, timestamp: int
163+
self, audio_data: bytes, timestamp: int = 0
164164
) -> None:
165165
"""End sending audio out."""
166166
try:

0 commit comments

Comments
 (0)