Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made useful internal class into public #65

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Packages/jp.keijiro.lasp/Runtime/Internal/FftBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Lasp
//
// Burst-optimized variant of the Cooley–Tukey FFT
//
sealed class FftBuffer : System.IDisposable
public sealed class FftBuffer : System.IDisposable
{
#region Public properties

Expand Down
2 changes: 1 addition & 1 deletion Packages/jp.keijiro.lasp/Runtime/Internal/LogScaler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Lasp
//
// X-axis log-scale resampler for spectrum analysis
//
sealed class LogScaler : System.IDisposable
public sealed class LogScaler : System.IDisposable
{
public NativeArray<float> Resample(NativeArray<float> source)
{
Expand Down
2 changes: 1 addition & 1 deletion Packages/jp.keijiro.lasp/Runtime/SpectrumAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ InputStream CacheStream()
InputStream _stream;

// FFT buffer object with lazy initialization
FftBuffer Fft => _fft ?? (_fft = new FftBuffer(_resolution * 2));
public FftBuffer Fft => _fft ?? (_fft = new FftBuffer(_resolution * 2));
FftBuffer _fft;

// Log scale resampler with lazy initialization
Expand Down