Prevent auto checking of audio devices
This commit is contained in:
parent
5f7b005626
commit
6ccef6e515
1 changed files with 4 additions and 2 deletions
|
@ -56,8 +56,10 @@ export const AudioSettings = () => {
|
|||
.catch(() => toast.error({ message: 'Error fetching audio devices' }));
|
||||
};
|
||||
|
||||
getAudioDevices();
|
||||
}, []);
|
||||
if (settings.type === PlaybackType.WEB) {
|
||||
getAudioDevices();
|
||||
}
|
||||
}, [settings.type]);
|
||||
|
||||
const audioOptions: SettingOption[] = [
|
||||
{
|
||||
|
|
Reference in a new issue