(muted: boolean, volume: number)
| 165 | if (speedIndex === -1) speedIndex = 0; |
| 166 | |
| 167 | const getVolumeIcon = (muted: boolean, volume: number): string => { |
| 168 | if (muted) return VOLUME_MUTED_ICON; |
| 169 | if (volume === 0) return VOLUME_LOW_ICON; |
| 170 | if (volume < 0.5) return VOLUME_LOW_ICON; |
| 171 | return VOLUME_HIGH_ICON; |
| 172 | }; |
| 173 | |
| 174 | playBtn.addEventListener("click", (e) => { |
| 175 | e.stopPropagation(); |
no outgoing calls
no test coverage detected