next iteration state + audio settings

This commit is contained in:
Stefan Otto
2020-05-05 22:28:46 +02:00
parent 1469f6c5fb
commit a2d11121d3
6 changed files with 198 additions and 12 deletions
+39
View File
@@ -32,6 +32,45 @@ export const togglePermanentTopBar = () =>
type : 'TOGGLE_PERMANENT_TOPBAR'
});
export const setEchoCancellation = (echoCancellation) =>
({
type : 'SET_ECHO_CANCELLATION',
payload : { echoCancellation }
});
export const setAutoGainControl = (autoGainControl) =>
({
type : 'SET_AUTO_GAIN_CONTROL',
payload : { autoGainControl }
});
export const setNoiseSuppression = (noiseSuppression) =>
({
type : 'SET_NOISE_SUPPRESSION',
payload : { noiseSuppression }
});
export const setDefaultAudio = (defaultAudio) =>
({
type : 'SET_DEFAULT_AUDIO',
payload : { defaultAudio }
});
export const toggleEchoCancellation = () =>
({
type : 'TOGGLE_ECHO_CANCELLATION'
});
export const toggleAutoGainControl = () =>
({
type : 'TOGGLE_AUTO_GAIN_CONTROL'
});
export const toggleNoiseSuppression = () =>
({
type : 'TOGGLE_NOISE_SUPPRESSION'
});
export const setLastN = (lastN) =>
({
type : 'SET_LAST_N',