Commit Graph

8538 Commits (9a8bd2678654a78e4f06155a45fadaf714996edd)

Author SHA1 Message Date
Joe Groff ce5cf520b3 docs for audio.vorbis 2010-01-25 20:35:36 -08:00
Joe Groff 0cd75fb177 don't leak the Factor stream when the vorbis-stream finishes 2010-01-25 20:28:45 -08:00
Joe Groff 9e1f2f422f audio.loader docs 2010-01-25 20:12:22 -08:00
Joe Groff 1da5fe002e fix audio.vorbis streaming to read in data from factor stream whenever necessary to feed libogg a full page. fixes premature stops on some test files 2010-01-25 19:19:17 -08:00
Joe Groff 9cccb39a5a Merge branch 'master' of git://factorcode.org/git/factor 2010-01-25 15:16:05 -08:00
Joe Groff 3487f3a5c5 tweak queue-clip-buffer to stop bothering the audio generator after generate-audio returns a size of 0 or f 2010-01-25 14:52:21 -08:00
Joe Groff bc14a7392b docs for audio.engine 2010-01-25 14:49:11 -08:00
Joe Groff 3a00d2573a docs for "audio" vocab 2010-01-25 13:14:12 -08:00
Slava Pestov de3168ad71 Various documentation improvements 2010-01-26 01:01:12 +13:00
Slava Pestov ad2ae73b67 mason.child: run nmake on Windows 2010-01-25 21:05:41 +13:00
Joe Groff 841e267f0a tweak audio.vorbis to queue up a fixed-sized preallocated buffer instead of taking ogg packets in whatever bizarre size they come 2010-01-24 22:06:23 -08:00
Joe Groff 230630c78a Merge branch 'master' of git://factorcode.org/git/factor 2010-01-24 12:48:17 -08:00
Joe Groff a7bb13348d audio.vorbis phase 2—actually decode and supply audio 2010-01-24 12:47:10 -08:00
Joe Groff 91e014ef96 audio.engine: dispose generator for streaming-audio-clip when it finishes 2010-01-24 12:45:51 -08:00
Joe Groff 1ca0b14235 steal chris double's ogg.player code and turn it into an audio.engine compatible vorbis streamer. phase 1—read headers and determine stream audio format 2010-01-24 10:08:39 -08:00
Joe Groff a751ecd8b7 audio.engine: let audio generators determine their own buffer size 2010-01-24 10:07:14 -08:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman eacb1412e2 Mason requires a hostname now (things break if this is an empty string) 2010-01-22 12:59:30 -06:00
Joe Groff de9dad0f08 make sure VAOs are available to gpu library 2010-01-21 10:41:11 -08:00
Joe Groff d58ac13101 remove debug prints 2010-01-20 15:23:48 -08:00
Joe Groff 90a065e690 rearrange order of <static-audio-clip> args to be consistent with <streaming-audio-clip> . add a streaming noise generator to audio.engine.test to ensure streaming clips work 2010-01-20 12:26:07 -08:00
Joe Groff 6b8c5bd101 tweak audio.engine generator interface 2010-01-20 11:48:48 -08:00
Joe Groff 87c09af8f3 update game.worlds and gpu.demo.raytrace for audio.engine changes 2010-01-20 11:44:18 -08:00
Joe Groff 92409fd3b6 mop up dead code and other debris from audio.engine 2010-01-20 11:40:13 -08:00
Joe Groff 8f9b5b8bc7 update audio.engine.test for audio.engine changes 2010-01-20 11:36:52 -08:00
Joe Groff 7a27d8a92b audio.engine improvements: support static and streaming audio clips. let openal handle static sources to avoid factor timer vagaries. rename (audio-clip) to <static-audio-clip>/<streaming-audio-clip>, and <audio-clip> to play-static-audio-clip/play-streaming-audio-clip 2010-01-20 11:35:02 -08:00
Joe Groff 67472040a9 adjust game.worlds docs language 2010-01-20 11:32:21 -08:00
Joe Groff ef7b5b92f1 add note to game.worlds docs that draw-world* and resize-world can have methods added in addition to the *-game-world specific methods 2010-01-19 19:12:00 -08:00
Joe Groff fc4686eaee downsample gpu.demos.raytrace sound effects to 11kHz so they aren't so pointlessly huge 2010-01-19 19:03:01 -08:00
Joe Groff 2f8180faa6 allow audio-sources to control reference distance and rolloff factor 2010-01-19 17:54:55 -08:00
Joe Groff 7a14b4ce61 add gratuitous audio to gpu.demos.raytrace 2010-01-19 17:54:25 -08:00
Joe Groff a99f1fd20e make a protocol for audio.engine sources/listeners. fix multiple clip play/pause/stop words, and fix when a clip gets disposed during update-audio 2010-01-19 17:39:11 -08:00
Joe Groff e5c44b95aa game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method 2010-01-19 16:07:47 -08:00
Joe Groff ab7d8aca7c add words to audio.engine for synchronized play/pause/stop of multiple clips 2010-01-19 13:16:45 -08:00
Joe Groff 303efda053 audio.loader vocab that reads audio file with reader appropriate to file extension 2010-01-19 12:46:06 -08:00
Joe Groff 0d57d0deb2 aiff audio file reader 2010-01-19 12:25:54 -08:00
Joe Groff 9c95b884dd make audio.wav endian-neutral 2010-01-19 11:24:13 -08:00
Joe Groff beb0e7ae5b oops. remove catheter and IVs from audio.engine 2010-01-19 10:42:38 -08:00
Joe Groff b8d4a3e51b make audio.engine actually work, add audio.engine.test to exercise it 2010-01-19 10:29:25 -08:00
Joe Groff 5f8755a30c add DESTRUCTOR:s for alcCloseDevice and alcDestroyContext 2010-01-19 10:28:36 -08:00
Joe Groff ee0eaf4ede remove redundant USING: from terrain 2010-01-19 10:28:06 -08:00
Joe Groff ace167991d audio.engine initial code dump 2010-01-18 14:17:04 -08:00
Joe Groff 2b96f43929 add ALC bindings to openal 2010-01-17 16:07:43 -08:00
Joe Groff 893c365912 missing USING:s 2010-01-17 16:07:29 -08:00
Joe Groff 9e0f26f6eb game.loop: fps word to divide a value into 1,000,000 2010-01-16 23:25:40 -08:00
Joe Groff a146e1a715 method-chains docs 2010-01-16 23:13:59 -08:00
Joe Groff 78721348ea document game.loop 2010-01-16 23:07:20 -08:00
Joe Groff 89f104d8ab add begin-game-world and end-game-world generics so method-chains aren't needed just to do game setup and teardown at the right time 2010-01-16 23:06:54 -08:00
Joe Groff a2e3d64de6 document game.worlds, tweak GAME: syntax 2010-01-16 13:13:13 -08:00
Joe Groff f7e1ed18b0 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-16 12:24:47 -08:00