1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Update SDL2_mixer.bf

This commit is contained in:
sere3925sere 2023-06-03 17:22:39 +04:00 committed by GitHub
parent f7f87407ae
commit a6b99dd520
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,11 +290,11 @@ namespace SDL2
/* chunk refers to a Mix_Chunk* */ /* chunk refers to a Mix_Chunk* */
[LinkName("Mix_PlayChannel")] [LinkName("Mix_PlayChannel")]
public static extern int32 PlayChannel( public static int32 PlayChannel(
int32 channel, int32 channel,
Chunk* chunk, Chunk* chunk,
int32 loops int32 loops
); ) => PlayChannelTimed(channel, chunk, loops, -1);
[LinkName("Mix_PlayMusic")] [LinkName("Mix_PlayMusic")]
public static extern int32 PlayMusic(Music* music, int32 loops); public static extern int32 PlayMusic(Music* music, int32 loops);