code: def test_call_works(self) -> None:
      decoder = AudioDecoder(device=device)
  
      with TEST_OGG_PATH.open("rb") as fb:
          block = MemoryBlock(fb.read())
  
      output = decoder(block)
  
      assert output["format"] == 0x200060  # OGG Vorbis
  
      assert output["sample_rate"] == 16000
  
      waveform = output["waveform"]
  
      assert waveform.shape == (28800, 1)
  
      assert waveform.dtype == torch.float32
  
      assert waveform.device == device
  
      assert_close(
          waveform[0][0], torch.tensor(9.0017202e-6, device=device)
      )
  
      assert_close(
          waveform.sum(), torch.tensor(-0.753374, device=device)
      )
  
file_path: fairseq2/tests/unit/data/audio/test_audio_decoder.py
imports: from pathlib import Path
  from typing import Any, Final
  import pytest
  import torch
  from fairseq2.data.audio import AudioDecoder
  from fairseq2.memory import MemoryBlock
  from fairseq2.typing import DataType
  from tests.common import assert_close, device
label_desc: Use image node_id 2 for calling the TestAudioDecoder obj's underlying member method code with example usage: obj.test_call_works() without return types