UNPKG

@miklermpz/expo-audio-studio

Version:

This is a forked version of the original [expo-audio-studio](https://github.com/deeeed/expo-audio-stream/blob/main/packages/expo-audio-studio/README.md) by Arthur Breton <abreton@siteed.net> (https://github.com/deeeed)

15 lines 519 B
import { AudioDevice } from '../ExpoAudioStream.types'; /** * React hook for managing audio input devices */ export declare function useAudioDevices(): { devices: AudioDevice[]; currentDevice: AudioDevice | null; loading: boolean; error: Error | null; selectDevice: (deviceId: string) => Promise<boolean>; resetToDefaultDevice: () => Promise<boolean>; refreshDevices: () => Promise<AudioDevice[]>; initializeDeviceDetection: () => void; }; //# sourceMappingURL=useAudioDevices.d.ts.map