Commit graph

1312 commits

Author SHA1 Message Date
227236568b Implement audio pause control 2022-10-07 22:03:27 +03:00
81fabbbf02 Add audio callback profiling 2022-10-07 15:28:30 +03:00
a80487abbc Add audio compressor knee 2022-10-07 13:09:49 +03:00
dba6148554 Update audio example 2022-10-07 11:18:46 +03:00
59f83aec12 Add audio compressor 2022-10-07 11:18:38 +03:00
e7d3bc45d1 Remove linear filter from volume control, use simple multiplication instead 2022-10-06 23:30:23 +03:00
8111af2c54 Add decibel to gain converters 2022-10-06 23:30:01 +03:00
bd16679b97 Implement stereo audio volume control 2022-10-06 16:24:42 +03:00
acc2fd486e Implement looping effect 2022-10-06 15:55:14 +03:00
63f7e9c32a Implement audio::duplicator properly (using recorder) 2022-10-06 15:45:39 +03:00
e4871da0c5 Add audio::recorder 2022-10-06 15:45:23 +03:00
9d58904a66 Add truncate effect 2022-10-06 15:17:46 +03:00
3e9814aee4 Add audio::duration type & use it for effect duration parameters 2022-10-06 15:02:47 +03:00
3890fa0b02 Make audio::stream::played() atomic 2022-10-06 13:51:35 +03:00
d19c93af33 Support retrieving the number of already played samples from a stream 2022-10-06 13:12:14 +03:00
62af785c08 Support retrieving length of a stream 2022-10-06 13:05:42 +03:00
bc1bbcb306 Rename volume attack -> smoothness 2022-10-06 12:41:31 +03:00
9b3afc9865 Use channel class for main audio output 2022-10-05 22:55:30 +03:00
26b44a9fa3 Make audio channel a separate class 2022-10-05 22:55:30 +03:00
cab34558ce Support replacing a mixing channel stream 2022-10-05 22:55:30 +03:00
bb31fe79c9 Add fade in & fade out effects 2022-10-05 22:55:30 +03:00
21b2028122 Update audio example 2022-10-05 22:55:30 +03:00
6c213f9c45 Add audio stereo aggregator 2022-10-05 22:55:30 +03:00
d346f7b50d Add audio stream duplication 2022-10-05 22:55:30 +03:00
65f71e54a8 Reimplement basic waveforms using a complex oscillator 2022-10-05 22:55:30 +03:00
051e812358 Change default util::clock duration & clock type 2022-10-05 22:55:30 +03:00
61919a264e Add silence audio stream 2022-10-05 22:55:30 +03:00
94216ce638 Add volume control effect 2022-10-05 22:55:30 +03:00
b3e583283a Audio library rewrite: re-implement engine using SDL_Audio & change API 2022-10-05 22:55:28 +03:00
d95807e320 Add util::to_shared 2022-10-05 22:53:52 +03:00
7d55214e4e Fix sound on linux 2022-10-02 23:07:10 +03:00
061c74ea54 Log number of sound mixing channels 2022-10-02 15:50:07 +03:00
4490123a64 Support dynamically changing 3d sound source position 2022-10-02 15:18:10 +03:00
28fbe8daf8 Disable GMP dependence if PSEMEK_ROBUST_PREDICATES is not set 2022-10-01 14:43:31 +03:00
ef3359add1 Fix convert-mesh script 2022-10-01 13:52:56 +03:00
968d79df7b Fix on_scene_exit called multiple times 2022-09-20 15:44:41 +03:00
7a57c1c1d8 Re-implement monotone chain triangulation to output a DCEL 2022-09-19 23:35:33 +03:00
92ad22f656 Add cg::fill_missing_faces that creates faces for edge loops without a connected face 2022-09-19 23:35:03 +03:00
51e6f8ad9c Rewrite ear-clipping triangulation to output dcel 2022-09-17 00:40:00 +03:00
34d9e67960 Store previous edge in dcel edges to support non-triangle meshes 2022-09-17 00:37:55 +03:00
83f1ac4202 Make cg::triangulation & cg::delaunay return dcel with nothing but connectivity data and using the input vertex order 2022-09-16 19:40:27 +03:00
0fe4477097 Add cg::edge_mesh(dcel) and cg::triangle_mesh(dcel) 2022-09-16 19:39:42 +03:00
b7e070a3a6 Implement const dcel handles 2022-09-16 19:22:24 +03:00
4c976272c5 Switch from define-based to tag-based robust predicates switch 2022-09-16 18:57:53 +03:00
46458abd71 Improve the non-robust geom::in_circle predicate and generalize to any directions 2022-09-16 17:56:11 +03:00
30546a505e Fix triangulation static assert on dimension 2022-09-16 17:34:58 +03:00
ecb723af1a Add polygon triangulation example 2022-09-15 14:42:24 +03:00
b2a714f88a Add monotone chain simple polygon triangulation 2022-09-15 14:42:13 +03:00
2e44978ff3 Add ear clipping simple polygon triangulation 2022-09-15 14:42:05 +03:00
208a6f0e8b Add PSEMEK_EXAMPLES_DIR variable for examples 2022-09-15 14:41:51 +03:00