murmuraba
Version:
Real-time audio noise reduction with advanced chunked processing for web applications
26 lines • 966 B
TypeScript
export interface IAudioPlayerProps {
/** Audio source URL */
src?: string;
/** Callback when play state changes */
onPlayStateChange?: (isPlaying: boolean) => void;
/** Additional CSS classes */
className?: string;
/** Label for the audio player */
label: string;
/** Force stop the audio playback */
forceStop?: boolean;
/** Custom aria-label for accessibility */
'aria-label'?: string;
/** Disable the player */
disabled?: boolean;
/** Volume level (0-1) */
volume?: number;
/** Muted state */
muted?: boolean;
}
/**
* Professional audio player component with comprehensive error handling,
* accessibility support, and clean architecture.
*/
export declare function AudioPlayer({ src, onPlayStateChange, className, label, forceStop, 'aria-label': ariaLabel, disabled, volume, muted, }: IAudioPlayerProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=audio-player.d.ts.map