diff options
Diffstat (limited to 'cast/standalone_sender/streaming_opus_encoder.cc')
-rw-r--r-- | cast/standalone_sender/streaming_opus_encoder.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cast/standalone_sender/streaming_opus_encoder.cc b/cast/standalone_sender/streaming_opus_encoder.cc index b41b2a82..cb2286ee 100644 --- a/cast/standalone_sender/streaming_opus_encoder.cc +++ b/cast/standalone_sender/streaming_opus_encoder.cc @@ -35,8 +35,8 @@ StreamingOpusEncoder::StreamingOpusEncoder(int num_channels, : num_channels_(num_channels), sender_(sender), samples_per_cast_frame_(sample_rate() / cast_frames_per_second), - approximate_cast_frame_duration_( - Clock::to_duration(std::chrono::seconds(1)) / cast_frames_per_second), + approximate_cast_frame_duration_(Clock::to_duration(seconds(1)) / + cast_frames_per_second), encoder_storage_(new uint8_t[opus_encoder_get_size(num_channels_)]), input_(new float[num_channels_ * samples_per_cast_frame_]), output_(new uint8_t[kOpusMaxPayloadSize]) { |