Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehjohn committed Aug 14, 2024
1 parent 5c03b43 commit 93fbe60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Zen.System/Modules/Audio/AudioEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public void Send(float[] data)

_channel = Bass.BASS_SampleGetChannel(_sampleHandle, BASSFlag.BASS_SAMCHAN_STREAM);

Bass.BASS_ChannelSetSync(_channel, BASSSync.BASS_SYNC_END | BASSSync.BASS_SYNC_MIXTIME, 0, PlayComplete, IntPtr.Zero);
Bass.BASS_ChannelSetSync(_channel, BASSSync.BASS_SYNC_END | BASSSync.BASS_SYNC_ONETIME, 0, PlayComplete, IntPtr.Zero);

Bass.BASS_ChannelPlay(_channel, true);
Bass.BASS_ChannelPlay(_channel, false);
}

private static void PlayComplete(int handle, int channel, int data, IntPtr user)
Expand Down

0 comments on commit 93fbe60

Please sign in to comment.