WASAPI Exclusive Event Driven skip detection -


i have app uses wasapi exclusive event driven mode. microsoft example code not far i'm doing. have problem if cpu taxed enough, skip on 1 of 3ms buffers supposed write. in exclusive event driven mode, there appears no way check write cursor. in shared mode, getcurrentpadding(), nothing exclusive mode. there no way know whether got behind or skipped ahead or whatever. saw capture, there audclnt_bufferflags_data_discontinuity flag. there similar iaudiorenderclient? when call getbuffer(), how know play cursor position pointer corresponds to? seems surprisingly easy out of sync without knowing it. watch clock , error out if funny happens, want more deterministic. want know sure missed buffer before barf out user.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -