-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] feat: Try to enable software APM(aec,ns,agc) for rust-core. #439
base: main
Are you sure you want to change the base?
Conversation
webrtc-sys/src/audio_track.cpp
Outdated
@@ -163,15 +163,15 @@ AudioTrackSource::InternalSource::InternalSource( | |||
|
|||
if (buffer_.size() >= samples10ms) { | |||
for (auto sink : sinks_) | |||
sink->OnData(buffer_.data(), sizeof(int16_t), sample_rate_, | |||
sink->OnData(buffer_.data(), sizeof(int16_t) * 8, sample_rate_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah blah, thx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
funny that it works without it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, assert is only triggered in debug mode.
e0002ae
to
c5f4726
Compare
c5f4726
to
3cea202
Compare
Need to adjust the calling path of (microphone capture) audioframe
Currently it is
audio frame
->on_captured_frame
->sinks->OnData
->audio_senders->SendAudioData
Adjust to
audio frame
->on_captured_frame
->audio_device_buffer->SetRecordedBuffer/DeliverRecordedData
->
audio_transport_cb_->RecordedDataIsAvailable
->audio_senders->SendAudioData
and Playback