GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d228c
)
Debuging synth.c - straaaaaange. It's producing beeps with delays. Why???
author
Harvie
<tomas@mudrunka.cz>
Sun, 22 Jan 2012 08:54:08 +0000
(09:54 +0100)
committer
Harvie
<tomas@mudrunka.cz>
Sun, 22 Jan 2012 08:54:08 +0000
(09:54 +0100)
c/ghetto-sound-system/synth.c
patch
|
blob
|
blame
|
history
diff --git
a/c/ghetto-sound-system/synth.c
b/c/ghetto-sound-system/synth.c
index b67ad3514fb1e629b8d46db14bbcaf9c82bfcae8..22bf505300b6b535d70f05ee8afc2ce23c2bee5e 100644
(file)
--- 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;
This page took
0.129446 seconds
and
4
git commands to generate.