Skip to content

Commit

Permalink
String rendering fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-smidge committed Aug 12, 2023
1 parent 721d1d5 commit f25fb44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions include/djinterop/engine/v2/overview_waveform_data_blob.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ struct DJINTEROP_PUBLIC overview_waveform_point
friend std::ostream& operator<<(
std::ostream& os, const overview_waveform_point& obj) noexcept
{
os << "overview_waveform_point{low_value=" << obj.low_value
<< ", mid_value=" << obj.mid_value
<< ", high_value=" << obj.high_value << "}";
os << "overview_waveform_point{low_value="
<< static_cast<int>(obj.low_value)
<< ", mid_value=" << static_cast<int>(obj.mid_value)
<< ", high_value=" << static_cast<int>(obj.high_value) << "}";
return os;
}
};
Expand Down
2 changes: 1 addition & 1 deletion include/djinterop/pad_color.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ inline bool operator!=(const pad_color& x, const pad_color& y)
inline std::ostream& operator<<(std::ostream& o, const djinterop::pad_color& v)
{
o << "pad_color{r=" << (int)v.r << ", g=" << (int)v.g << ", b=" << (int)v.b
<< ", a=" << (int)v.a;
<< ", a=" << (int)v.a << "}";
return o;
}
} // namespace djinterop
Expand Down

0 comments on commit f25fb44

Please sign in to comment.