Back to Chromium

Manual Test: AudioContext.currentTime and getOutputTimestamp().contextTime upon device change

third_party/blink/manual_tests/webaudio/context-time-monotonic-on-setsinkid.html

150.0.7829.2698 B
Original Source

Manual Test: AudioContext.currentTime and getOutputTimestamp().contextTime upon device change

This test verifies that AudioContext.currentTime and getOutputTimestamp().contextTime remain monotonic when the output device is changed using setSinkId().

  1. Click "START TEST". This will ask for microphone permission to enumerate audio output devices.
  2. Once the device list is populated, select a different audio output from the dropdown.
  3. Click "Change Device".
  4. Observe the log. The currentTime and getOutputTimestamp().contextTime values should always increase. An error will be logged if they ever decrease.
  5. Repeat with different devices.

START TESTPreparing...Change Device