Commit Graph

180 Commits

Author SHA1 Message Date
Hajime Hoshi
929539b66e add exp/textinput package
This works only for macOS and browsers so far.

Updates #1029
2023-07-05 02:09:04 +09:00
Hajime Hoshi
91802aac47 Remove exp 2016-09-03 14:41:39 +09:00
Hajime Hoshi
15a523c42b Remove exp/gamepad 2016-09-03 14:03:41 +09:00
Hajime Hoshi
b0178e8425 audio: Move exp/audio -> audio (#206) 2016-04-19 01:26:37 +09:00
Hajime Hoshi
283758dddb audio: Remove NewLoop (#200) 2016-04-19 00:49:38 +09:00
Hajime Hoshi
2b4140cb4a audio: Bug fix: Compile error 2016-04-17 03:19:05 +09:00
Hajime Hoshi
6ba088d021 audio: Bug fix: buffers might be run out (#207) 2016-04-16 12:09:25 +09:00
Hajime Hoshi
e5609f06d6 audio: Refactoring 2016-04-16 03:56:14 +09:00
Hajime Hoshi
4b5243579c audio: Remove unneeded C files 2016-04-15 02:07:35 +09:00
Hajime Hoshi
98be54fe60 audio: Bug fix: Compile error and noise on Windows 2016-04-15 01:58:27 +09:00
Hajime Hoshi
715b5df7e1 audio: Consume necessary and sufficient data on each Update (#205) (WIP) 2016-04-15 01:37:48 +09:00
Hajime Hoshi
e93982ffb5 audio: Add doc 2016-04-10 23:15:49 +09:00
Hajime Hoshi
65cbbdd5d9 audio: Misspelling 2016-04-10 23:15:49 +09:00
Hajime Hoshi
e0a091194e audio: Fix wrong comments 2016-04-10 01:13:15 +09:00
Hajime Hoshi
702884acf5 audio: Don't check errors until making current context is done (#204) 2016-04-10 01:11:42 +09:00
Hajime Hoshi
509aa22bae audio: Re-use another OpenAL library for Mac OS X (#195) 2016-04-10 00:39:08 +09:00
Hajime Hoshi
96296f076d audio: Lock OS Thread during initializing OpenAL audio 2016-04-09 23:13:54 +09:00
Hajime Hoshi
52aa9d4784 Revert "audio: Use another OpenAL library for Mac OS X (#195)"
This reverts commit 6e5b8a28dc.
2016-04-09 22:56:25 +09:00
Hajime Hoshi
6e5b8a28dc audio: Use another OpenAL library for Mac OS X (#195) 2016-04-09 22:15:00 +09:00
Hajime Hoshi
9dfbb4161e audio: Remove unused functions 2016-04-09 01:15:39 +09:00
Hajime Hoshi
38ee66070e audio: Fix error messages 2016-04-09 01:10:42 +09:00
Hajime Hoshi
2ba5105ba9 audio: Use channel num and bytes per sample on OpenAL 2016-04-09 01:10:11 +09:00
Hajime Hoshi
bbdb522b15 audio: Bug fix: compilation error on Windows 2016-04-09 00:58:50 +09:00
Hajime Hoshi
2840bafd0a audio: Move drivers to internal/driver 2016-04-09 00:54:18 +09:00
Hajime Hoshi
6a6f9ad2a2 audio: Bug fix: unneeded import 2016-04-06 03:32:50 +09:00
Hajime Hoshi
25665f5035 audio: No need for loop in audio_openal; alSource's state might be al.Initial 2016-04-06 03:31:06 +09:00
Hajime Hoshi
1ded7dc6b8 audio: Refactoring 2016-04-06 01:26:21 +09:00
Hajime Hoshi
3cedae882f audio: Bug fix: buffers must be consumed (reproduced on go-inovation) 2016-04-06 01:17:11 +09:00
Hajime Hoshi
398d7710ae audio: Stream reading must be done only when buffers are available (Windows) 2016-04-05 12:17:23 +09:00
Hajime Hoshi
2d3c3e361e audio: Replace 'for' with 'if' as preparation to avoid goroutine 2016-04-05 03:31:37 +09:00
Hajime Hoshi
ff8f15a212 audio: Refactoring 2016-04-05 02:56:25 +09:00
Hajime Hoshi
7bdda4e9ca audio: Refactoring: Remove context.sampleRate 2016-04-05 02:40:14 +09:00
Hajime Hoshi
805e6b7b36 audio: Use Read-write lock 2016-04-05 02:24:54 +09:00
Hajime Hoshi
79985535c3 audio: Refactoring: mixingStream has the global lock 2016-04-05 02:17:39 +09:00
Hajime Hoshi
da6ffdf2b9 audio: Refactoring: context doesn't have to have a reference to stream 2016-04-05 00:40:31 +09:00
Hajime Hoshi
f222885d97 audio: Context.Update now returns error (#197) 2016-04-05 00:09:00 +09:00
Hajime Hoshi
b6a02ddc94 audio: Refactoring: Unify loop 2016-04-04 23:42:44 +09:00
Hajime Hoshi
cc51bc2a08 audio: Sleep 1 msec instead of calling Gosched in JavaScript 2016-04-04 02:54:54 +09:00
Hajime Hoshi
0b040e92e8 audio: Bug fix: compilation error on JavaScript 2016-04-04 02:53:07 +09:00
Hajime Hoshi
ab793d9c8b audio: Reduce panic on Windows 2016-04-04 02:50:00 +09:00
Hajime Hoshi
68cf7bf6fa audio: Refactoring: Add player.proceed on Windows 2016-04-04 02:42:37 +09:00
Hajime Hoshi
11141cc52a audio: Refactoring: Remove *player.start in JS 2016-04-04 02:23:15 +09:00
Hajime Hoshi
26bc94ca4a audio: Reduce panic 2016-04-04 02:16:26 +09:00
Hajime Hoshi
3d8de3254c audio: Reduce panic 2016-04-03 16:13:00 +09:00
Hajime Hoshi
8d6ed85145 audio: Bug fix: old API in JavaScript 2016-04-03 06:36:04 +09:00
Hajime Hoshi
8dc3c2fb70 audio: Refactoring: Remove player.start 2016-04-03 03:15:57 +09:00
Hajime Hoshi
911de8d196 audio: Refactoring: Remove Loop.pos 2016-04-03 03:08:45 +09:00
Hajime Hoshi
1ec786f83a audio: audio.NewContext now returns error 2016-04-03 02:59:44 +09:00
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