Skip to content

Commit 22c0999

Browse files
authored
Update ConversationTests.cs
Not used
1 parent a864ffa commit 22c0999

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/RealtimeConversation/ConversationTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ public async Task AudioWithToolsWorks(TestAudioSendType audioSendType)
341341
{
342342
byte[] allAudioBytes = await File.ReadAllBytesAsync(inputAudioFilePath, CancellationToken);
343343
const int audioSendBufferLength = 8 * 1024;
344-
byte[] audioSendBuffer = ArrayPool<byte>.Shared.Rent(audioSendBufferLength);
345344
for (int readPos = 0; readPos < allAudioBytes.Length; readPos += audioSendBufferLength)
346345
{
347346
int nextSegmentLength = Math.Min(audioSendBufferLength, allAudioBytes.Length - readPos);

0 commit comments

Comments
 (0)