Skip to content

Commit

Permalink
Export sound source types
Browse files Browse the repository at this point in the history
  • Loading branch information
docEdub committed Nov 22, 2024
1 parent d5b76cd commit a8e734a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { _WebAudioMainBus } from "./webAudioMainBus";

const fileExtensionRegex = new RegExp("\\.(\\w{3,4}$|\\?)");

type StaticSoundSourceType = ArrayBuffer | AudioBuffer | StaticSoundBuffer | string | string[];
export type StaticSoundSourceType = ArrayBuffer | AudioBuffer | StaticSoundBuffer | string | string[];

/**
* Creates a new static sound.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { _WebAudioBus } from "./webAudioBus";
import type { _WebAudioEngine } from "./webAudioEngine";
import type { _WebAudioMainBus } from "./webAudioMainBus";

type StreamingSoundSourceType = HTMLMediaElement | string | string[];
export type StreamingSoundSourceType = HTMLMediaElement | string | string[];

/**
* Creates a new streaming sound.
Expand Down

0 comments on commit a8e734a

Please sign in to comment.