i am trying to record sound from a microphone and play it.
i created a capture object..recorded sound and transfered it to a secondary buffer via memory stream.
when i try to play the secondary buffer i get a short "bump" sound...after checking with the debugger i noticed that it passes the "secondaryBuffer.play" line very fast (not really playing).
the buffer size is 60000 bytes long.
the capture buffer, memory buffer (for the stream) and the secondary buffer are all the same size so i don't need any notifications.
i am writing my program in c#.
in need of help,
0 · ·