Skip to content

Commit

Permalink
Minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jul 25, 2024
1 parent 35b55a3 commit 466955b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ All user visible changes to this project will be documented in this file. This p

- Upgraded [libwebrtc] to [126.0.6478.182-r2] version. ([#155], [#162])
- Disable [H264] software encoders and decoders. ([#153])
- Migrated from [`dart:html`] to [`package:web`] package. ([#164])
- Migrated from [`dart:html`] to [`package:web`]. ([#164])

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions lib/src/platform/web/audio_renderer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void setOutputAudioSinkId(String deviceId) {
for (int i = 0; i < children.length; ++i) {
final child = children.item(i);
if (child is web.HTMLAudioElement) {
// TODO: Replace when dart-lang/web#205 is fixed:
// TODO: Replace once dart-lang/web#205 is fixed:
// https://github.com/dart-lang/web/issues/205
child.callMethod('setSinkId'.toJS, deviceId.toJS);
}
Expand Down Expand Up @@ -106,7 +106,7 @@ class WebAudioRenderer extends AudioRenderer {

try {
if (_outputAudioSinkId != null) {
// TODO: Replace when dart-lang/web#205 is fixed:
// TODO: Replace once dart-lang/web#205 is fixed:
// https://github.com/dart-lang/web/issues/205
_element?.callMethod('setSinkId'.toJS, _outputAudioSinkId!.toJS);
}
Expand Down

0 comments on commit 466955b

Please sign in to comment.