import React from 'react'; import { audioEngineTargets } from '../../../settings.mjs'; import { SelectInput } from './SelectInput'; // Allows the user to select an audio interface for Strudel to play through export function AudioEngineTargetSelector({ target, onChange, isDisabled }) { const onTargetChange = (target) => { onChange(target); }; const options = new Map([ [audioEngineTargets.webaudio, audioEngineTargets.webaudio], [audioEngineTargets.osc, audioEngineTargets.osc], ]); return (
{target === audioEngineTargets.osc && (

⚠ All events routed to OSC, audio is silenced! See{' '} Docs

)}
); }