Skip to content

Commit

Permalink
DirectXTK for Audio: Stop followed by Play didn't correclty restart t…
Browse files Browse the repository at this point in the history
…he voice
  • Loading branch information
walbourn_cp authored and walbourn_cp committed Jan 25, 2015
1 parent e8b9969 commit 48cf6ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Audio/SoundCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ namespace DirectX
{
state = STOPPED;
voice->Stop( 0 );
voice->FlushSourceBuffers();
}
else if ( looped )
{
Expand Down

0 comments on commit 48cf6ab

Please sign in to comment.