mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 08:49:17 +02:00
change vban max packet size, add a rds2 device to fm95 and others
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ void init_oscillator(Oscillator *osc, float frequency, float sample_rate) {
|
||||
osc->sample_rate = sample_rate;
|
||||
}
|
||||
|
||||
void change_oscillator_frequency(Oscillator *osc, float frequency) {
|
||||
inline void change_oscillator_frequency(Oscillator *osc, float frequency) {
|
||||
osc->phase_increment = (M_2PI * frequency) / osc->sample_rate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user