Skip to content

Commit

Permalink
chore: Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gavv committed Jul 26, 2024
1 parent ff877bb commit 968677e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/internal_modules/roc_pipeline/sender_session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ status::StatusCode SenderSession::write(audio::Frame& frame) {
roc_panic_if(init_status_ != status::StatusOK);

if (fail_status_ != status::NoStatus) {
// Failure happened, and session will be removed soon. Until that,
// always return StatusOK and do nothing.
return status::StatusOK;
}

Expand Down
2 changes: 1 addition & 1 deletion src/internal_modules/roc_status/status_code.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ enum StatusCode {
//! @remarks
//! Indicates that plugin lookup or initialization failed.
//! @note
//! Example: we're trying to create PLC plugin, but use-provided callback
//! Example: we're trying to create PLC plugin, but user-provided callback
//! failed to allocate it.
StatusNoPlugin,

Expand Down

0 comments on commit 968677e

Please sign in to comment.