How to change the audio capture buffer size in DirectSound's CaptureSound application ?...
m_dwNotifySize = 3528;
Set this Value in CreateCaptureBuffer() fn,
before this line:
m_dwNotifySize = 3528;//AudioBufferSize
m_dwCaptureBufferSize = m_dwNotifySize * NUM_REC_NOTIFICATIONS;
Notification buffer size is used in this application to retrive data from the Circular buffer .
we can set any size to this notification buffer size and it will be used to retrive buffer size bytes from the circular buffer.
No comments:
Post a Comment