Skip to content

Commit e219af7

Browse files
authored
Minor cleanup (#10)
* fix lag variable * remove testing values
1 parent 53539f8 commit e219af7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/SnapOutput.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class SnapOutput : public AudioInfoSupport {
166166

167167
// open resampler
168168
auto res_cfg = resample.defaultConfig();
169-
res_cfg.step_size = 1.009082;
169+
res_cfg.step_size = 1.0f;
170170
res_cfg.copyFrom(audio_info);
171171
resample.begin(res_cfg);
172172

src/api/SnapTimeSync.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class SnapTimeSync {
7373
int interval = 10;
7474
bool active = false;
7575
// start delay
76-
uint16_t processing_lag = 0;
76+
int processing_lag = 0;
7777
uint16_t message_buffer_delay_ms = 0;
7878

7979
};

0 commit comments

Comments
 (0)