attempt fix booleans on windows build
This commit is contained in:
parent
1b8598fa55
commit
f9d52edd50
4 changed files with 40 additions and 4 deletions
19
tests/test_music.py
Normal file
19
tests/test_music.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
from pyray import *
|
||||
init_window(800, 450, "Hello")
|
||||
|
||||
init_audio_device()
|
||||
|
||||
music = load_music_stream("examples/audio/resources/country.mp3")
|
||||
music.looping = True
|
||||
play_music_stream(music);
|
||||
|
||||
|
||||
while not window_should_close():
|
||||
update_music_stream(music);
|
||||
begin_drawing()
|
||||
clear_background(WHITE)
|
||||
draw_text("music "+str(music.looping), 190, 200, 20, VIOLET)
|
||||
end_drawing()
|
||||
unload_music_stream(music)
|
||||
close_audio_device()
|
||||
close_window()
|
Reference in a new issue