All files / player-browser/src/runtime index.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33                                                                 
/**
 * Barrel for the `@be-music/player-browser/audio` entry: how the player sounds outside the play loop. The audio service
 * (one system AudioContext for the BGM, cues, jingles, chart preview and skin sounds, and the per-play graphs; ADR 0007),
 * the audio bus with its compressor parameters, the master volume, the platform audio session, and the chart preview
 * engine the service drives.
 *
 * The lower-level runtime helpers (engine driver, web-audio session, web-input runtime, web-ui runtime, the play's
 * audio graph) stay internal: they back the audio service and the play session but aren't part of the public contract.
 */
export * from './audio-bus.ts';
export * from './audio-service.ts';
// The decoded samples of the chart played last (`AudioService.chartSamples`).
export type {
  CachedChartSample,
  ChartSampleCache,
  ChartSampleCacheKey,
  ChartSampleLease,
} from './chart-sample-cache.ts';
export * from './master-volume.ts';
// The platform audio session (`navigator.audioSession`) — distinct from the internal engine `WebAudioSession` noted above.
export * from './system-audio-session.ts';
 
// The chart preview the audio service plays on the select screen (`AudioService.preview`).
export {
  CHART_PREVIEW_STOP_FADE_OUT_SECONDS,
  ChartPreviewEngine,
  DEFAULT_CHART_PREVIEW_FALLBACK_DURATION_SECONDS,
  LR2_PREVIEW_FOCUS_DELAY_MS,
  type ChartPreviewEngineOptions,
  type ChartPreviewTarget,
  type ChartPreviewWindow,
} from '../chart/preview.ts';