Skip to content

Commit

Permalink
Remove unused getters
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliastik committed Jan 1, 2025
1 parent 663925a commit 4716bd9
Show file tree
Hide file tree
Showing 49 changed files with 288 additions and 498 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/SimpleSoundStudioLibrary.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/SimpleSoundStudioLibrary.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/SimpleSoundStudioLibrary.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/SimpleSoundStudioLibrary.js.map

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,6 @@ declare class AudioEditor extends AbstractAudioElement implements AudioEditorInt
saveBuffer(options?: SaveBufferOptions): Promise<boolean>;
set downloadingInitialData(state: boolean);
get downloadingInitialData(): boolean;
get order(): number;
get id(): string;
}

interface BufferPlayerInterface {
Expand Down Expand Up @@ -787,8 +785,6 @@ declare class BufferPlayer extends AbstractAudioElement implements BufferPlayerI
get maxTimeDisplay(): string;
get percent(): number;
get remainingTimeDisplay(): string;
get order(): number;
get id(): string;
}

interface ConstraintULong {
Expand Down Expand Up @@ -945,8 +941,6 @@ declare class VoiceRecorder extends AbstractAudioElement implements VoiceRecorde
getSettings(): RecorderSettings;
on(event: string, callback: EventEmitterCallback): void;
isRecordingAvailable(): boolean;
get order(): number;
get id(): string;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/AbstractAudioElement.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Class: `abstract` AbstractAudioElement

Defined in: [interfaces/AbstractAudioElement.ts:9](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/interfaces/AbstractAudioElement.ts#L9)
Defined in: [interfaces/AbstractAudioElement.ts:9](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/interfaces/AbstractAudioElement.ts#L9)

## Extended by

Expand All @@ -31,7 +31,7 @@ Defined in: [interfaces/AbstractAudioElement.ts:9](https://github.com/Eliastik/s

> **injectDependencies**(`bufferFetcherService`, `bufferDecoderService`, `configService`, `eventEmitter`): `void`
Defined in: [interfaces/AbstractAudioElement.ts:23](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/interfaces/AbstractAudioElement.ts#L23)
Defined in: [interfaces/AbstractAudioElement.ts:23](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/interfaces/AbstractAudioElement.ts#L23)

#### Parameters

Expand Down
42 changes: 21 additions & 21 deletions docs/classes/AbstractAudioFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Class: `abstract` AbstractAudioFilter

Defined in: [filters/interfaces/AbstractAudioFilter.ts:5](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L5)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:5](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L5)

## Extends

Expand Down Expand Up @@ -38,7 +38,7 @@ Defined in: [filters/interfaces/AbstractAudioFilter.ts:5](https://github.com/Eli

> **get** `abstract` **id**(): `string`
Defined in: [filters/interfaces/AbstractAudioNode.ts:17](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L17)
Defined in: [filters/interfaces/AbstractAudioNode.ts:17](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L17)

Returns the id of this filter/renderer

Expand All @@ -58,7 +58,7 @@ Returns the id of this filter/renderer

> **get** `abstract` **order**(): `number`
Defined in: [filters/interfaces/AbstractAudioNode.ts:14](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L14)
Defined in: [filters/interfaces/AbstractAudioNode.ts:14](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L14)

Returns the order in which the filter/renderer needs to be applied

Expand All @@ -78,7 +78,7 @@ Returns the order in which the filter/renderer needs to be applied

> **set** **totalSamples**(`value`): `void`
Defined in: [filters/interfaces/AbstractAudioFilter.ts:61](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L61)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:61](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L61)

##### Parameters

Expand All @@ -96,7 +96,7 @@ Defined in: [filters/interfaces/AbstractAudioFilter.ts:61](https://github.com/El

> **bufferFetcherReseted**(): `Promise`\<`boolean`\>
Defined in: [filters/interfaces/AbstractAudioFilter.ts:57](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L57)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:57](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L57)

Called when the buffer fetcher was reseted

Expand All @@ -112,7 +112,7 @@ boolean

> **disable**(): `void`
Defined in: [filters/interfaces/AbstractAudioNode.ts:54](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L54)
Defined in: [filters/interfaces/AbstractAudioNode.ts:54](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L54)

Disable this filter/renderer

Expand All @@ -130,7 +130,7 @@ Disable this filter/renderer

> **enable**(): `void`
Defined in: [filters/interfaces/AbstractAudioNode.ts:49](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L49)
Defined in: [filters/interfaces/AbstractAudioNode.ts:49](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L49)

Enable this filter/renderer

Expand All @@ -148,7 +148,7 @@ Enable this filter/renderer

> **getAddingTime**(): `number`
Defined in: [filters/interfaces/AbstractAudioFilter.ts:23](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L23)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:23](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L23)

Get the amount of time this filter add to the audio

Expand All @@ -162,7 +162,7 @@ Get the amount of time this filter add to the audio

> **getDefaultSettings**(): `null` \| [`FilterSettings`](../interfaces/FilterSettings.md)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:33](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L33)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:33](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L33)

Returns the default settings of this filter

Expand All @@ -176,7 +176,7 @@ Returns the default settings of this filter

> `abstract` **getNode**(`context`): [`AudioFilterNodes`](../interfaces/AudioFilterNodes.md)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:14](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L14)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:14](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L14)

Return a input and output AudioNode of the filter

Expand All @@ -196,7 +196,7 @@ Return a input and output AudioNode of the filter

> `abstract` **getSettings**(): [`FilterSettings`](../interfaces/FilterSettings.md)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:17](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L17)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:17](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L17)

Return an object with current settings of this filter

Expand All @@ -210,7 +210,7 @@ Return an object with current settings of this filter

> **initializeDefaultSettings**(): `void`
Defined in: [filters/interfaces/AbstractAudioFilter.ts:28](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L28)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:28](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L28)

Store the default settings

Expand All @@ -224,7 +224,7 @@ Store the default settings

> **injectDependencies**(`bufferFetcherService`, `bufferDecoderService`, `configService`, `eventEmitter`): `void`
Defined in: [interfaces/AbstractAudioElement.ts:23](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/interfaces/AbstractAudioElement.ts#L23)
Defined in: [interfaces/AbstractAudioElement.ts:23](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/interfaces/AbstractAudioElement.ts#L23)

#### Parameters

Expand Down Expand Up @@ -258,7 +258,7 @@ Defined in: [interfaces/AbstractAudioElement.ts:23](https://github.com/Eliastik/

> **isDefaultEnabled**(): `boolean`
Defined in: [filters/interfaces/AbstractAudioNode.ts:25](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L25)
Defined in: [filters/interfaces/AbstractAudioNode.ts:25](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L25)

Is this filter/renderer enabled by default?

Expand All @@ -276,7 +276,7 @@ Is this filter/renderer enabled by default?

> **isEnabled**(): `boolean`
Defined in: [filters/interfaces/AbstractAudioNode.ts:20](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L20)
Defined in: [filters/interfaces/AbstractAudioNode.ts:20](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L20)

Is this filter/renderer enabled?

Expand All @@ -294,7 +294,7 @@ Is this filter/renderer enabled?

> **isWorklet**(): `boolean`
Defined in: [filters/interfaces/AbstractAudioFilter.ts:49](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L49)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:49](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L49)

Return if the current filter use an audio worklet

Expand All @@ -308,7 +308,7 @@ Return if the current filter use an audio worklet

> **resetSettings**(): `Promise`\<`void`\>
Defined in: [filters/interfaces/AbstractAudioFilter.ts:38](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L38)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:38](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L38)

Reset the default settings of this filter

Expand All @@ -322,7 +322,7 @@ Reset the default settings of this filter

> **setDefaultEnabled**(`state`): `void`
Defined in: [filters/interfaces/AbstractAudioNode.ts:30](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L30)
Defined in: [filters/interfaces/AbstractAudioNode.ts:30](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L30)

Set to true if this filter/renderer needs to be enabled by default

Expand All @@ -346,7 +346,7 @@ Set to true if this filter/renderer needs to be enabled by default

> **setEnabled**(`state`): `void`
Defined in: [filters/interfaces/AbstractAudioNode.ts:44](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L44)
Defined in: [filters/interfaces/AbstractAudioNode.ts:44](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L44)

Set the enabled/disabled state

Expand All @@ -372,7 +372,7 @@ true to enable, false to disable

> `abstract` **setSetting**(`settingId`, `value`): `Promise`\<`void`\>
Defined in: [filters/interfaces/AbstractAudioFilter.ts:20](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioFilter.ts#L20)
Defined in: [filters/interfaces/AbstractAudioFilter.ts:20](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioFilter.ts#L20)

Set a filter setting

Expand All @@ -396,7 +396,7 @@ Set a filter setting

> **toggle**(): `void`
Defined in: [filters/interfaces/AbstractAudioNode.ts:59](https://github.com/Eliastik/simple-sound-studio-lib/blob/dab295def48d73ea9d369ba0bfae89dbd7e343e1/lib/filters/interfaces/AbstractAudioNode.ts#L59)
Defined in: [filters/interfaces/AbstractAudioNode.ts:59](https://github.com/Eliastik/simple-sound-studio-lib/blob/663925a270924e57c5730bbb254aa7f5b3523775/lib/filters/interfaces/AbstractAudioNode.ts#L59)

Toggle to enabled/disabled this filter

Expand Down
Loading

0 comments on commit 4716bd9

Please sign in to comment.