Debuging synth.c - straaaaaange. It's producing beeps with delays. Why???
authorHarvie <tomas@mudrunka.cz>
Sun, 22 Jan 2012 08:54:08 +0000 (09:54 +0100)
committerHarvie <tomas@mudrunka.cz>
Sun, 22 Jan 2012 08:54:08 +0000 (09:54 +0100)
c/ghetto-sound-system/synth.c

index b67ad3514fb1e629b8d46db14bbcaf9c82bfcae8..22bf505300b6b535d70f05ee8afc2ce23c2bee5e 100644 (file)
@@ -17,7 +17,7 @@ void my_audio_callback(void *userdata, Uint8 *stream, int len) {
        int sampl_freq = desired->freq;
        sampl_freq = 44100;
 
-       double sine_freq = 50;
+       double sine_freq = 11025;
        static double i,j; // = 0;
 
        short int *u; u = (short int *)stream;
This page took 0.094265 seconds and 4 git commands to generate.