mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
now?
This commit is contained in:
@@ -33,7 +33,7 @@ void init_stereo_encoder(StereoEncoder* st, uint8_t multiplier, Oscillator* osc,
|
||||
}
|
||||
|
||||
#ifdef STEREO_SSB
|
||||
float stereo_encode(StereoEncoder* st, uint8_t enabled, float left, float right, firhilbf hilbert) {
|
||||
float stereo_encode(StereoEncoder* st, uint8_t enabled, float left, float right, firhilbf *hilbert) {
|
||||
#else
|
||||
float stereo_encode(StereoEncoder* st, uint8_t enabled, float left, float right) {
|
||||
#endif
|
||||
@@ -47,7 +47,7 @@ float stereo_encode(StereoEncoder* st, uint8_t enabled, float left, float right)
|
||||
|
||||
#ifdef STEREO_SSB
|
||||
float complex stereo_hilbert;
|
||||
firhilbf_r2c_execute(hilbert, side, &stereo_hilbert);
|
||||
firhilbf_r2c_execute(*hilbert, side, &stereo_hilbert);
|
||||
float signalx2cos = get_oscillator_cos_multiplier_ni(st->osc, st->multiplier * 2.0f);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ typedef struct
|
||||
void init_stereo_encoder(StereoEncoder *st, uint8_t multiplier, Oscillator *osc, float audio_volume, float pilot_volume);
|
||||
|
||||
#ifdef STEREO_SSB
|
||||
float stereo_encode(StereoEncoder* st, uint8_t enabled, float left, float right, firhilbf hilbert);
|
||||
float stereo_encode(StereoEncoder* st, uint8_t enabled, float left, float right, firhilbf *hilbert);
|
||||
#else
|
||||
float stereo_encode(StereoEncoder* st, uint8_t enabled, float left, float right);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user