remove comment

This commit is contained in:
wataru 2023-01-11 15:35:49 +09:00
parent 66ced01b43
commit 074654e8fa
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,6 @@ export const useMicrophoneOptions = () => {
audioContext: audioContext,
audioOutputElementId: AUDIO_ELEMENT_FOR_PLAY_RESULT
})
console.log("cs", clientState)
const serverSetting = useServerSetting({ clientState })
const deviceSetting = useDeviceSetting(audioContext, { clientState })

View File

@ -102,6 +102,8 @@ export const useClient = (props: UseClientProps): ClientState => {
const [responseTime, setResponseTime] = useState<number>(0)
const [volume, setVolume] = useState<number>(0)
useEffect(() => {
const initialized = async () => {
if (!props.audioContext) {
@ -276,7 +278,7 @@ export const useClient = (props: UseClientProps): ClientState => {
})()
}, [settingState.inputChunkNum])
// (b) input chunk num設定
// (b) convert chunk num設定
useEffect(() => {
(async () => {
await initializedPromise