Skip to content

Commit

Permalink
fix(IAFPacket): operator== not care nb_samples
Browse files Browse the repository at this point in the history
Signed-off-by: pingkai <pingkai010@gmail.com>
  • Loading branch information
pingkai committed Jan 19, 2020
1 parent 5046dad commit 03e3a9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/base/media/IAFPacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ class CICADA_CPLUS_EXTERN IAFFrame {
&& this->channels == info.channels
&& this->format == info.format
&& this->channel_layout == info.channel_layout
&& this->nb_samples == info.nb_samples;
// && this->nb_samples == info.nb_samples
;
}

bool operator!=(const audioInfo &info) const
Expand Down

0 comments on commit 03e3a9d

Please sign in to comment.