Skip to content

Commit

Permalink
feat: simple web audio api wrappers (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsek authored Dec 6, 2024
1 parent d1038f3 commit a005ea9
Show file tree
Hide file tree
Showing 2 changed files with 438 additions and 19 deletions.
25 changes: 25 additions & 0 deletions packages/react-native-audio-api/src/index.native.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { installModule } from './utils/install';

if (global.__AudioAPIInstaller == null) {
installModule();
}

export { default as AudioBuffer } from './core/AudioBuffer';
export { default as AudioBufferSourceNode } from './core/AudioBufferSourceNode';
export { default as AudioContext } from './core/AudioContext';
export { default as AudioDestinationNode } from './core/AudioDestinationNode';
export { default as AudioNode } from './core/AudioNode';
export { default as AudioParam } from './core/AudioParam';
export { default as AudioScheduledSourceNode } from './core/AudioScheduledSourceNode';
export { default as BaseAudioContext } from './core/BaseAudioContext';
export { default as BiquadFilterNode } from './core/BiquadFilterNode';
export { default as GainNode } from './core/GainNode';
export { default as OscillatorNode } from './core/OscillatorNode';
export { default as StereoPannerNode } from './core/StereoPannerNode';
export {
OscillatorType,
BiquadFilterType,
ChannelCountMode,
ChannelInterpretation,
ContextState,
} from './core/types';
Loading

0 comments on commit a005ea9

Please sign in to comment.