X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=c%2Fghetto-sound-system%2Fsynth.c;h=22bf505300b6b535d70f05ee8afc2ce23c2bee5e;hb=30d358cd5a66ea85b06729df8fa13a068ac21d51;hp=b67ad3514fb1e629b8d46db14bbcaf9c82bfcae8;hpb=51baeaf524489d11b6455a97b2d26b8309b79607;p=mirrors%2FPrograms.git diff --git a/c/ghetto-sound-system/synth.c b/c/ghetto-sound-system/synth.c index b67ad35..22bf505 100644 --- a/c/ghetto-sound-system/synth.c +++ b/c/ghetto-sound-system/synth.c @@ -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;