Markus Bollinger skrev:
As I know this is quite true in case of audio that cames from/goes to the kmixer. I do not remember exactly, but for copying 10 ms of data several copy calls can happen, not ? In case of DirectKS the amount of data copied depends on the application.
During streaming, GetPosition is called first to see how much the DMA ptr has advanced, this is then used to calculate ByteCount, and CopyTo/From are then called immediately thereafter. With a notification interval of 10 ms, for 44100 stereo 16 bit, ByteCount is pretty much exactly 1764 bytes constantly. At least that's what my debugging sessions has told me, correct me if I'm wrong :) Regards /Rob ****************** 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/