We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a864ffa commit 22c0999Copy full SHA for 22c0999
tests/RealtimeConversation/ConversationTests.cs
@@ -341,7 +341,6 @@ public async Task AudioWithToolsWorks(TestAudioSendType audioSendType)
341
{
342
byte[] allAudioBytes = await File.ReadAllBytesAsync(inputAudioFilePath, CancellationToken);
343
const int audioSendBufferLength = 8 * 1024;
344
- byte[] audioSendBuffer = ArrayPool<byte>.Shared.Rent(audioSendBufferLength);
345
for (int readPos = 0; readPos < allAudioBytes.Length; readPos += audioSendBufferLength)
346
347
int nextSegmentLength = Math.Min(audioSendBufferLength, allAudioBytes.Length - readPos);
0 commit comments