Ticket #86 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.

resolved by r1443