History log of /haiku/src/add-ons/media/media-add-ons/mixer/Interpolate.h
Revision Date Author Comments
# d23c4131 08-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Interpolating resampler: un-break it.

The interpolation was performed only on the samples in a buffer,
without "linking" with the previous one. This can't work.
* Remember the last sample from a buffer to be able to use it when
interpolating the first samples of the next one
* Adjust the kernel to properly loop over all samples in the buffer

Fixes #9438.


# 27606dae 08-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Mixer resampler: refactor using templates.

There is no need to copypaste the resampling code which is mostly the
same for all formats. However, gcc2 is confused by member function
templates (I hit an internal compiler error) so the resampling code was
moved to a static function instead.


# ff617a11 12-Aug-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Add a resampler that interpolates instead of dropping/copying samples.
* Not plugged anywhere yet.
* I'm not sure the downsampling is done properly, either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38037 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d23c4131888e026b1366cb3e4f3331b4850fd3e3 08-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Interpolating resampler: un-break it.

The interpolation was performed only on the samples in a buffer,
without "linking" with the previous one. This can't work.
* Remember the last sample from a buffer to be able to use it when
interpolating the first samples of the next one
* Adjust the kernel to properly loop over all samples in the buffer

Fixes #9438.


# 27606dae3658767f5995699ada7fc8a645677ee5 08-Dec-2014 Adrien Destugues <pulkomandy@gmail.com>

Mixer resampler: refactor using templates.

There is no need to copypaste the resampling code which is mostly the
same for all formats. However, gcc2 is confused by member function
templates (I hit an internal compiler error) so the resampling code was
moved to a static function instead.


# ff617a11dda81e55fd32cfc1a6e926d14c4fbe9e 12-Aug-2010 Adrien Destugues <pulkomandy@pulkomandy.ath.cx>

* Add a resampler that interpolates instead of dropping/copying samples.
* Not plugged anywhere yet.
* I'm not sure the downsampling is done properly, either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38037 a95241bf-73f2-0310-859d-f6bbb57e9c96