    // }

                // device.audio.forEach(audio => {
                //     const audioIcon = document.createElement('div');
                //     audioIcon.className = 'icon';
                //     audioIcon.innerHTML = `
                //         ${audio.is_input ? 'üé§' : 'üîä'}
                //         <div class="tooltip">
                //             Device: ${audio.device_name}
                //             Duration: ${audio.duration_secs}s
                //             O