File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class audio_xcoding : public threadloop
17
17
audio_xcoding (phonebook *pb_, bool encoding)
18
18
: threadloop{encoding ? " audio_encoding" : " audio_decoding" , pb_}
19
19
, _m_sb{pb->lookup_impl <switchboard>()}
20
- , _m_clock{pb->lookup_impl <RelativeClock >()}
20
+ , _m_clock{pb->lookup_impl <relative_clock >()}
21
21
, _m_pose{_m_sb->get_reader <pose_type>(" slow_pose" )}
22
22
, xcoder{" " , encoding ? ILLIXR_AUDIO::ABAudio::ProcessType::ENCODE : ILLIXR_AUDIO::ABAudio::ProcessType::DECODE}
23
23
, encoding_{encoding}
@@ -44,11 +44,11 @@ class audio_xcoding : public threadloop
44
44
45
45
private:
46
46
const std::shared_ptr<switchboard> _m_sb;
47
- const std::shared_ptr<RelativeClock > _m_clock;
47
+ const std::shared_ptr<relative_clock > _m_clock;
48
48
switchboard::reader<pose_type> _m_pose;
49
49
ILLIXR_AUDIO::ABAudio xcoder;
50
50
time_point last_time;
51
- static constexpr duration audio_period{freq2period (static_cast <double >(SAMPLERATE) / static_cast <double >(BLOCK_SIZE))};
51
+ static constexpr duration audio_period{freq_to_period (static_cast <double >(SAMPLERATE) / static_cast <double >(BLOCK_SIZE))};
52
52
bool encoding_;
53
53
};
54
54
You can’t perform that action at this time.
0 commit comments