File tree Expand file tree Collapse file tree
packages/react-native-audio-api/common/cpp/audioapi/core/sources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ AudioFileSourceNode::AudioFileSourceNode(
5454
5555 seekOffloader_ = std::make_unique<task_offloader::TaskOffloader<
5656 OffloadedSeekRequest,
57- spsc::OverflowStrategy::WAIT_ON_FULL ,
58- spsc::WaitStrategy::YIELD >>(
57+ spsc::OverflowStrategy::OVERWRITE_ON_FULL ,
58+ spsc::WaitStrategy::ATOMIC_WAIT >>(
5959 SEEK_OFFLOADER_WORKER_COUNT, [this ](OffloadedSeekRequest req) { runOffloadedSeekTask (req); });
6060
6161 isInitialized_.store (true , std::memory_order_release);
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ class AudioFileSourceNode : public AudioNode {
141141
142142 std::unique_ptr<task_offloader::TaskOffloader<
143143 OffloadedSeekRequest,
144- spsc::OverflowStrategy::WAIT_ON_FULL ,
145- spsc::WaitStrategy::YIELD >>
144+ spsc::OverflowStrategy::OVERWRITE_ON_FULL ,
145+ spsc::WaitStrategy::ATOMIC_WAIT >>
146146 seekOffloader_;
147147};
148148
You can’t perform that action at this time.
0 commit comments