mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-02 22:36:00 +02:00
commit
1846c61317
2 changed files with 9 additions and 9 deletions
|
@ -6042,7 +6042,7 @@ namespace SDL2
|
|||
|
||||
/* uint32 refers to an SDL_AudioDeviceID */
|
||||
[LinkName("SDL_OpenAudioDevice")]
|
||||
private static extern AudioDeviceID OpenAudioDevice(
|
||||
public static extern AudioDeviceID OpenAudioDevice(
|
||||
char8* device,
|
||||
int32 iscapture,
|
||||
ref SDL_AudioSpec desired,
|
||||
|
@ -6050,7 +6050,7 @@ namespace SDL2
|
|||
int32 allowed_changes
|
||||
);
|
||||
|
||||
struct AudioDeviceID : uint32
|
||||
public struct AudioDeviceID : uint32
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -290,11 +290,11 @@ namespace SDL2
|
|||
|
||||
/* chunk refers to a Mix_Chunk* */
|
||||
[LinkName("Mix_PlayChannel")]
|
||||
public static extern int32 PlayChannel(
|
||||
public static int32 PlayChannel(
|
||||
int32 channel,
|
||||
Chunk* chunk,
|
||||
int32 loops
|
||||
);
|
||||
) => PlayChannelTimed(channel, chunk, loops, -1);
|
||||
|
||||
[LinkName("Mix_PlayMusic")]
|
||||
public static extern int32 PlayMusic(Music* music, int32 loops);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue