Commit Graph

1711 Commits

Author SHA1 Message Date
Hajime Hoshi
e631714a43 audio: SetVolume now rejects NaN 2016-04-03 02:46:18 +09:00
Hajime Hoshi
54f0e30fe6 audio: Remove returning value from startPlaying 2016-04-03 02:43:39 +09:00
Hajime Hoshi
4492c0dad0 audio/vorbis: Refactoring: Use uintptr to calc a pointer value with an offset 2016-04-03 01:14:39 +09:00
Hajime Hoshi
2475fd32a8 audio/vorbis: Bug fix: Converting uchar into uint8 doesn't work on Cgo on Linux 2016-04-02 23:22:44 +09:00
Hajime Hoshi
34e084cbce audio: Add Loop 2016-04-02 23:03:39 +09:00
Hajime Hoshi
03906148bb audio/vorbis: Stop copying streaming in JavaScript 2016-04-02 22:23:29 +09:00
Hajime Hoshi
764c755dd0 audio/vorbis: Avoid copying by using C.short values directly 2016-04-02 21:56:21 +09:00
Hajime Hoshi
d5ac3f831d audio/vorbis: decode should accept io.ReadCloser 2016-04-02 20:09:35 +09:00
Hajime Hoshi
f73b679fe6 audio/vorbis: Simplify to use stb_vorbis_decode_memory 2016-04-02 20:08:32 +09:00
Hajime Hoshi
5c7d36e62e audio/vorbis: Refactoring 2016-03-31 22:47:16 +09:00
Hajime Hoshi
07bc077f5b audio/vorbis: Bug fix: decode.go shouldn't be compiled for JS 2016-03-31 03:48:07 +09:00
Hajime Hoshi
ba2df59c3a audio/vorbis: Copy Go file from go-vorbis 2016-03-31 02:59:08 +09:00
Hajime Hoshi
38d10e31db audio/vorbis: Rename files 2016-03-31 02:34:31 +09:00
Hajime Hoshi
4dba239cb5 audio/vorbis: Accept ReadSeekCloser instead of Reader 2016-03-30 03:15:31 +09:00
Hajime Hoshi
e0a058bcc3 audio/wav: Parse header more accurately 2016-03-30 03:03:08 +09:00
Hajime Hoshi
4e50588c0c audio/wav: Bug fix: add header size to offset only when whence is 0 2016-03-30 02:54:25 +09:00
Hajime Hoshi
aba404d39f audio/wav: Parse header more accurately 2016-03-30 01:30:40 +09:00
Hajime Hoshi
50b7ec59d4 examples/audio: Reuse SE audio.Player object 2016-03-30 00:00:18 +09:00
Hajime Hoshi
07968abfd6 ebitenutil: Add ReadSeekCloser and use this 2016-03-29 23:52:11 +09:00
Hajime Hoshi
992832afe1 audio/voribs: Bug fix: sampleRate member doesn't exist 2016-03-29 23:50:17 +09:00
Hajime Hoshi
e43493fc4e examples/pcm: Bug fix: build error 2016-03-29 03:37:28 +09:00
Hajime Hoshi
56f4968e70 audio: Add TODOs 2016-03-29 03:34:46 +09:00
Hajime Hoshi
4d7045c161 audio: Remove Stream.Len and add Stream.Size 2016-03-29 03:20:10 +09:00
Hajime Hoshi
d2ccbdbe23 audio: Add Player.Close (#194) 2016-03-29 00:06:37 +09:00
Hajime Hoshi
0662e1a1de audio: Add Volume/SetVolume 2016-03-28 11:06:17 +09:00
Hajime Hoshi
55d61b8c67 examples/audio: Add comments 2016-03-27 20:10:04 +09:00
Hajime Hoshi
457581c8ad examples/audio: Copy SE buffer only once 2016-03-27 19:23:55 +09:00
Hajime Hoshi
27911b8156 Add audio/wav package 2016-03-27 19:10:16 +09:00
Hajime Hoshi
f8e984a62a audio/vorbis: Fix error messages 2016-03-27 16:31:28 +09:00
Hajime Hoshi
3b35e6c253 audio/vorbis: Remove Stream interface 2016-03-27 01:15:28 +09:00
Hajime Hoshi
a3b5b283e4 ui: Bug fix: assigning a run context was not goroutine-safe 2016-03-26 19:16:57 +09:00
Hajime Hoshi
fc3dcd4a6b ui: Make UI functions goroutine-safe 2016-03-26 18:46:07 +09:00
Hajime Hoshi
1934ab0893 ui: Add *runContext.updateScreenSize 2016-03-26 18:17:06 +09:00
Hajime Hoshi
5a8f5ffe87 ui: Remove running member 2016-03-26 17:59:36 +09:00
Hajime Hoshi
30d4437e97 ui: Add runContext struct 2016-03-26 17:50:00 +09:00
Hajime Hoshi
75ef9a6d47 ui: Add read-write lock 2016-03-26 17:24:40 +09:00
Hajime Hoshi
4a60343fe6 ui: Don't use currentUI directly 2016-03-26 15:17:01 +09:00
Hajime Hoshi
f58a253631 graphics: Fix comments 2016-03-26 04:27:07 +09:00
Hajime Hoshi
95485441f4 ui: Remove dataset attributes 2016-03-25 01:15:47 +09:00
Hajime Hoshi
fb3bf4e3b4 ui: Add CurrentUI() 2016-03-25 00:38:30 +09:00
Hajime Hoshi
6ac6b8e7c0 input: Make functions goroutine-safe (#192) 2016-03-24 23:51:20 +09:00
Hajime Hoshi
6efead974f ui: Rename ActualScale -> ActualScreenScale 2016-03-23 01:14:28 +09:00
Hajime Hoshi
2beba60530 examples/windowsize: Bug fix: screen size must be positive 2016-03-23 00:45:58 +09:00
Hajime Hoshi
62dffe5405 Add ebiten.ScreenScale() (#191) 2016-03-23 00:44:16 +09:00
Hajime Hoshi
2157061479 ui: Use actualScale to calc minimum window size 2016-03-22 12:01:53 +09:00
Hajime Hoshi
993a55abde ui: Set window width limitation for Windows (#165) 2016-03-22 11:56:40 +09:00
Hajime Hoshi
4bf3b4e44e examples/windowsize: Use the screen's Size() 2016-03-22 01:36:04 +09:00
Hajime Hoshi
1b86bb9889 examples/font: Add an English sentence 2016-03-21 23:25:17 +09:00
Hajime Hoshi
deabfa5e15 graphics: Clear the default render target just after initializing 2016-03-21 23:24:30 +09:00
Hajime Hoshi
dc933b88f8 Add examples/font (#77) 2016-03-21 21:09:31 +09:00