Skip to content

Commit

Permalink
test_backend_source fully implemented and passes all test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrick87 committed Feb 25, 2024
1 parent f139b8c commit 0695127
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 539 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ bool SoxSource::open_() {

is_file_ = !(input_->handler.flags & SOX_FILE_DEVICE);

if(is_file_ && in_signal_.rate != input_->signal.rate && in_signal_.rate != 0){
if(is_file_ && sample_spec_.sample_rate() != input_->signal.rate && sample_spec_.sample_rate() != 0){
roc_log(LogInfo, "sndfile source: can't set rate: samplerate in argument is different from file samplerate");
return false;
}
Expand Down
260 changes: 0 additions & 260 deletions src/tests/roc_sndio/target_sndfile/test_sndfile_source.cpp

This file was deleted.

Loading

0 comments on commit 0695127

Please sign in to comment.