mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
The Onosecond is the second when you can say "oh no"
This commit is contained in:
@@ -232,7 +232,7 @@ int main() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
osc.frequency = (FREQUENCY+(current_input*DEVIATION));
|
osc.frequency = (FREQUENCY+(current_input*DEVIATION));
|
||||||
signal[i] = get_next_sample(&osc);
|
signal[i] = get_next_sample(&osc)*VOLUME;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pa_simple_write(output_device, signal, sizeof(signal), NULL) < 0) {
|
if (pa_simple_write(output_device, signal, sizeof(signal), NULL) < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user