mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-07 08:47:03 +01:00
WIP Style
This commit is contained in:
@@ -22,10 +22,10 @@
|
||||
template <typename Tin, typename Tout>
|
||||
std::unique_ptr<Tout[]> SampleBuffer<Tin, Tout>::getSamples(off_t start, off_t length)
|
||||
{
|
||||
auto samples = src->getSamples(start, length);
|
||||
std::unique_ptr<Tout[]> dest(new Tout[length]);
|
||||
work(samples.get(), dest.get(), length);
|
||||
return dest;
|
||||
auto samples = src->getSamples(start, length);
|
||||
std::unique_ptr<Tout[]> dest(new Tout[length]);
|
||||
work(samples.get(), dest.get(), length);
|
||||
return dest;
|
||||
}
|
||||
|
||||
template class SampleBuffer<std::complex<float>, std::complex<float>>;
|
||||
|
||||
Reference in New Issue
Block a user