Robert Bielik skrev:
Never mind, I finally got it to work with as little sample buffer as 128 samples @44.1K so it means < 3 ms, on a cheap laptop :) Actually WaveRT is a lot easier to deal with than WaveCyclic.
Just a thought... when querying the driver for a buffer with notification, I can choose 1 or 2 notifications per buffer. Why 1 ? It is completely useless. To be able to fill up the buffer in time, 2 notifications per buffer is a minimum (?) And a question on implementation of the position register: for my audio device the position register is not wrapped with the buffer size (i.e. it counts upward continuously), which does not seem to be as the WaveRT spec suggests ? And it can return a position not on a frame boundary, i.e. not a multiple of wfx.Format.nBlockAlign. Seems odd to me... TIA /R ****************** WDMAUDIODEV addresses: Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx Subscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe Unsubscribe: mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe Moderator: mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx URL to WDMAUDIODEV page: http://www.wdmaudiodev.com/