Skip to main content

RecordingConfig

@siteed/expo-audio-streamDocs


@siteed/expo-audio-stream / RecordingConfig

Interface: RecordingConfig

Properties

algorithm?

optional algorithm: AmplitudeAlgorithm

Defined in

src/ExpoAudioStream.types.ts:98


channels?

optional channels: 1 | 2

Defined in

src/ExpoAudioStream.types.ts:71


enableProcessing?

optional enableProcessing: boolean

Defined in

src/ExpoAudioStream.types.ts:92


encoding?

optional encoding: EncodingType

Defined in

src/ExpoAudioStream.types.ts:74


features?

optional features: AudioFeaturesOptions

Defined in

src/ExpoAudioStream.types.ts:101


interval?

optional interval: number

Defined in

src/ExpoAudioStream.types.ts:77


keepAwake?

optional keepAwake: boolean

Defined in

src/ExpoAudioStream.types.ts:80


notification?

optional notification: NotificationConfig

Defined in

src/ExpoAudioStream.types.ts:89


onAudioAnalysis()?

optional onAudioAnalysis: (_) => Promise<void>

Parameters

_: AudioAnalysisEvent

Returns

Promise<void>

Defined in

src/ExpoAudioStream.types.ts:107


onAudioStream()?

optional onAudioStream: (_) => Promise<void>

Parameters

_: AudioDataEvent

Returns

Promise<void>

Defined in

src/ExpoAudioStream.types.ts:104


pointsPerSecond?

optional pointsPerSecond: number

Defined in

src/ExpoAudioStream.types.ts:95


sampleRate?

optional sampleRate: SampleRate

Defined in

src/ExpoAudioStream.types.ts:68


showNotification?

optional showNotification: boolean

Defined in

src/ExpoAudioStream.types.ts:83


showWaveformInNotification?

optional showWaveformInNotification: boolean

Defined in

src/ExpoAudioStream.types.ts:86