Skip to content

Use correct union member to access strings

Codecov / codecov/patch succeeded Jul 25, 2024 in 1s

34.64% of diff hit (target 9.19%)

View this Pull Request on Codecov

34.64% of diff hit (target 9.19%)

Annotations

Check warning on line 175 in src/logging.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/logging.cpp#L174-L175

Added lines #L174 - L175 were not covered by tests

Check warning on line 179 in src/logging.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/logging.cpp#L179

Added line #L179 was not covered by tests

Check warning on line 185 in src/logging.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/logging.cpp#L184-L185

Added lines #L184 - L185 were not covered by tests

Check warning on line 189 in src/logging.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/logging.cpp#L189

Added line #L189 was not covered by tests

Check warning on line 57 in src/platform/linux/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/linux/audio.cpp#L57

Added line #L57 was not covered by tests

Check warning on line 76 in src/platform/linux/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/linux/audio.cpp#L76

Added line #L76 was not covered by tests

Check warning on line 86 in src/platform/linux/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/linux/audio.cpp#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 91 in src/platform/macos/av_audio.m

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/av_audio.m#L90-L91

Added lines #L90 - L91 were not covered by tests

Check warning on line 22 in src/platform/macos/microphone.mm

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/microphone.mm#L22

Added line #L22 was not covered by tests

Check warning on line 34 in src/platform/macos/microphone.mm

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/macos/microphone.mm#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 164 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L164

Added line #L164 was not covered by tests

Check warning on line 173 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L173

Added line #L173 was not covered by tests

Check warning on line 177 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L177

Added line #L177 was not covered by tests

Check warning on line 181 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L181

Added line #L181 was not covered by tests

Check warning on line 185 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L185

Added line #L185 was not covered by tests

Check warning on line 189 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L189

Added line #L189 was not covered by tests

Check warning on line 191 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L191

Added line #L191 was not covered by tests

Check warning on line 194 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L194

Added line #L194 was not covered by tests

Check warning on line 292 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L291-L292

Added lines #L291 - L292 were not covered by tests

Check warning on line 295 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L295

Added line #L295 was not covered by tests

Check warning on line 307 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L306-L307

Added lines #L306 - L307 were not covered by tests

Check warning on line 326 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L326

Added line #L326 was not covered by tests

Check warning on line 421 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L421

Added line #L421 was not covered by tests

Check warning on line 689 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L689

Added line #L689 was not covered by tests

Check warning on line 698 in src/platform/windows/audio.cpp

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/platform/windows/audio.cpp#L698

Added line #L698 was not covered by tests