ending a DirectSound stream using the callback result causes looped buffer

User picture
User picture