Skip to content

Commit

Permalink
remove mutable in audio_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileGoat committed Apr 10, 2022
1 parent 664cc9c commit 4311552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speechx/speechx/frontend/audio/audio_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class AudioCache : public FrontendInterface {
size_t size_; // samples in ring_buffer_ now
size_t capacity_; // capacity of ring_buffer_
bool finished_; // reach audio end
mutable std::mutex mutex_;
std::mutex mutex_;
std::condition_variable ready_feed_condition_;
kaldi::int32 timeout_; // millisecond
bool convert2PCM32_;
Expand Down

0 comments on commit 4311552

Please sign in to comment.