b2fa322e30
Set c standard to c11
...
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
2022-07-20 23:43:00 +02:00
b519a77ad9
Hack up audio fft with libfftw3
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 22:37:09 +02:00
f3bf686a52
Read 32 bit float audio PCM samples from stdin
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 22:10:23 +02:00
770deae6cd
Force blocking stdout
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 21:54:39 +02:00
8c47f2726c
Implement sound buffer texture
...
Texture channel 0 has a 512x2 texture with audio samples. For now,
fill it with dummy data (ascending slope), so we can see some
output.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 21:54:39 +02:00
542669ef04
Minor fixes
...
- Fix uniform name for iFrame
- Move timer initialization to main loop, so we don't measure
the FBO initialization
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 21:06:06 +02:00
22b2fd4864
Keep global state clean
...
Unbind the FBO+texture after initialization, bind it before
rendering, unbind it after, re-bind the texture to scrape the
data, unbind the texture.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 21:04:43 +02:00
6bfa914582
Stop if shader compilation fails
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 20:58:32 +02:00
e58028ae18
Do not mix debug prints and stdout data stream
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-19 20:57:12 +02:00
4123b78a81
Back to the future
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-17 15:59:24 +02:00
13e1363e0b
Add license boilerplate
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-17 15:58:53 +02:00
f21ecc71c7
Make the window invisible if dumping to stdout
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-17 03:25:37 +02:00
319b283868
Cleanup window handling a little bit
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-17 02:29:26 +02:00
75baf054e5
Implement "dump raw frame buffer to stdout"
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-17 01:58:46 +02:00
acaef93bd8
Initial commit
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2022-07-16 22:13:49 +02:00