Skip to content

Commit

Permalink
Use Linear interpolation by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed May 7, 2024
1 parent 7260daa commit 59f83f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/value-types.hh
Original file line number Diff line number Diff line change
Expand Up @@ -2385,7 +2385,7 @@ struct TimeSamples {
template<typename T, std::enable_if_t<!value::LerpTraits<T>::supported(), std::nullptr_t> = nullptr>
bool get(T *dst, double t = value::TimeCode::Default(),
value::TimeSampleInterpolationType interp =
value::TimeSampleInterpolationType::Held) const {
value::TimeSampleInterpolationType::Linear) const {

(void)interp;

Expand Down Expand Up @@ -2440,7 +2440,7 @@ struct TimeSamples {
template<typename T, std::enable_if_t<value::LerpTraits<T>::supported(), std::nullptr_t> = nullptr>
bool get(T *dst, double t = value::TimeCode::Default(),
TimeSampleInterpolationType interp =
TimeSampleInterpolationType::Held) const {
TimeSampleInterpolationType::Linear) const {
if (!dst) {
return false;
}
Expand Down

0 comments on commit 59f83f9

Please sign in to comment.