import type { AudioProcessor, ProcessorCategory } from './AudioProcessor';

export class StereoSwap implements AudioProcessor {
  getName(): string {
    return 'Stereo Swap';
  }

  getDescription(): string {
    return 'Swaps left and right channels';
  }

  getCategory(): ProcessorCategory {
    return 'Space';
  }

  process(
    leftChannel: Float32Array,
    rightChannel: Float32Array
  ): [Float32Array, Float32Array] {
    return [rightChannel, leftChannel];
  }
}
