> Maybee someone knows what > happens if a driver is profiled. Well, if your driver is based on WavePCI, the drivers WavePCIStream::GetAllocatorFraming routine gets called to determine your preferred DMA buffer size. If your driver is AVStream based, you can modify the pin descriptors AllocatorFraming when the pin is created. This framing size will be used by SONAR. If however your driver is WaveCyclic based, the WaveCyclic Class driver always returns 10 ms as preferred frame size. IMHO there's no way to override this default value. Stephan ----- Original Message ----- From: "uwe kirst" <u.kirst@xxxxxx> To: <wdmaudiodev@xxxxxxxxxxxxx> Sent: Monday, April 19, 2004 2:32 PM Subject: [work] [wdmaudiodev] Re: 10ms latency (wavecyclic) > Evert van der Poll wrote: > > >Hi, > > > >Sonar uses direct kernel streaming (or called something similar). It > >bypasses the user mode API's like DirectSound or MME. There actually is a > >sample of how to do this in the file list of this forum. The file is called > >DirectKS.zip. For a sample it is a bit hard to follow but you can get the > >idea. > > > >Evert > > > > > > > Hi, > I know this sample quite well. I get low latencies with my wavecyclic > drive + directKS sample app. Sonar does something called "wave > profiling". It shows a latency of 10 ms. Maybee someone knows what > happens if a driver is profiled. > > Uwe > > ****************** > > 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.de/ > > > ****************** 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.de/