Skip to main content

AudioDataEvent

@siteed/expo-audio-studio


@siteed/expo-audio-studio / AudioDataEvent

Interface: AudioDataEvent

Defined in: src/ExpoAudioStream.types.ts:41

Properties

compression?

optional compression: CompressionInfo & object

Defined in: src/ExpoAudioStream.types.ts:53

Information about compression if enabled, including the compressed data chunk

Type declaration

data?

optional data: string | Blob

Base64 (native) or Blob (web) encoded compressed data chunk


data

data: string | Float32Array

Defined in: src/ExpoAudioStream.types.ts:43

Audio data as base64 string (native) or Float32Array (web)


eventDataSize

eventDataSize: number

Defined in: src/ExpoAudioStream.types.ts:49

Size of the current data chunk in bytes


fileUri

fileUri: string

Defined in: src/ExpoAudioStream.types.ts:47

URI to the file being recorded


position

position: number

Defined in: src/ExpoAudioStream.types.ts:45

Current position in the audio stream in bytes


totalSize

totalSize: number

Defined in: src/ExpoAudioStream.types.ts:51

Total size of the recording so far in bytes