Skip to content

Commit a2cf17b

Browse files
steipeteampagent
andauthored
1 parent 87b93b5 commit a2cf17b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎src/meeting-bot/realtime-audio-format.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ function decodeMeetingTelephonyTtsAudio(
8282
case "alaw":
8383
return alawToPcm(audio);
8484
}
85-
return unsupportedMeetingTelephonyTtsFormat(sourceFormat);
86-
}
87-
88-
function unsupportedMeetingTelephonyTtsFormat(_format: never): never {
85+
sourceFormat satisfies never;
8986
throw new Error("Unsupported telephony TTS output format for meeting platform");
9087
}
9188

0 commit comments

Comments
 (0)