15 Commits (b2fa322e3082472771d87c8b97fdb0fb796fff01)
 

Author SHA1 Message Date
tyrolyean b2fa322e30
Set c standard to c11
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
11 months ago
David Oberhollenzer b519a77ad9 Hack up audio fft with libfftw3
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer f3bf686a52 Read 32 bit float audio PCM samples from stdin
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer 770deae6cd Force blocking stdout
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer 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>
11 months ago
David Oberhollenzer 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>
11 months ago
David Oberhollenzer 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>
11 months ago
David Oberhollenzer 6bfa914582 Stop if shader compilation fails
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer e58028ae18 Do not mix debug prints and stdout data stream
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer 4123b78a81 Back to the future
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer 13e1363e0b Add license boilerplate
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer f21ecc71c7 Make the window invisible if dumping to stdout
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer 319b283868 Cleanup window handling a little bit
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer 75baf054e5 Implement "dump raw frame buffer to stdout"
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago
David Oberhollenzer acaef93bd8 Initial commit
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
11 months ago