aboutsummaryrefslogtreecommitdiff
path: root/sdl2/mixer/channels.ha
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sdl2/mixer/channels.ha10
1 files changed, 5 insertions, 5 deletions
diff --git a/sdl2/mixer/channels.ha b/sdl2/mixer/channels.ha
index 4bf4820..fffccd0 100644
--- a/sdl2/mixer/channels.ha
+++ b/sdl2/mixer/channels.ha
@@ -1,8 +1,8 @@
use sdl2;
-@symbol("Mix_PlayChannelTimed") fn _play_channel_timed(
+@symbol("Mix_PlayChannelTimed") fn _Mix_PlayChannelTimed(
channel: int,
- sample: *chunk,
+ sample: *Mix_Chunk,
loops: int,
ticks: int,
) int;
@@ -11,10 +11,10 @@ use sdl2;
// channel. The sample will play for loops+1 number of times, unless stopped by
// halt, or fade out, or setting a new expiration time of less time than it
// would have originally taken to play the loops, or closing the mixer.
-export fn play_channel(
+export fn Mix_PlayChannelTimed(
channel: int,
- sample: *chunk,
+ sample: *Mix_Chunk,
loops: int,
) (void | sdl2::error) = {
- return sdl2::wrapvoid(_play_channel_timed(channel, sample, loops, -1));
+ return sdl2::wrapvoid(_Mix_PlayChannelTimed(channel, sample, loops, -1));
};