code: def _get_flac_sample_fmt(bps):
      if bps is None or bps == 16:
          return "s16"
      if bps == 24:
          return "s32"
      raise ValueError(
          f"FLAC only supports bits_per_sample values of 16 and 24 ({bps} specified)."
      )
  
imports: import os
  import re
  import sys
  from typing import BinaryIO, Optional, Tuple, Union
  import torch
  import torchaudio
  from .backend import Backend
  from .common import AudioMetaData
label_desc: Use image node_id 8 for calling a global function with example usage: _get_flac_sample_fmt(bps) and returns: str, str