Ticket #86 (closed defect: fixed)

Opened 15 months ago

Last modified 6 months ago

ending a DirectSound stream using the callback result causes looped buffer

Reported by: rossb Owned by: rossb
Priority: major Milestone: V19-RC1
Component: host-api-dsound Version: 2.0
Keywords: Cc:

Description

 http://music.columbia.edu/pipermail/portaudio/2009-April/009060.html

Philip Bennefall wrote

I had a bit of trouble with the DirectSound? completion code, if you return complete from your callback and do not call AbortStream? or StopStream? immediately then the last segment starts looping. I assume this is because the DirectSound? secondary buffer is still full of the old audio, and so my solution was to insert some extra silence the size of the buffer in the end and then stop. <<<

Change History

comment:1 Changed 6 months ago by rossb

  • Status changed from new to closed
  • Resolution set to fixed

resolved by r1443

Note: See TracTickets for help on using tickets.