@touchcastllc/napster-companion-api-dev 1.0.0-alpha.47 → 1.0.0-alpha.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -352,6 +352,19 @@ export interface NapsterCompanionApiInstance {
352
352
  startFaceTracking: () => Promise<void>;
353
353
  /** Stop face tracking (pauses detection, stops camera; model stays loaded for fast restart). */
354
354
  stopFaceTracking: () => void;
355
+ /** Mute the avatar's audio output. */
356
+ muteAudio: () => void;
357
+ /** Unmute the avatar's audio output. */
358
+ unmuteAudio: () => void;
359
+ /** Whether the avatar's audio output is currently muted. */
360
+ readonly isAudioMuted: boolean;
361
+ /**
362
+ * Set the avatar's audio output volume.
363
+ * @param volume Volume level in the range 0..1 (clamped if out of range).
364
+ */
365
+ setAudioVolume: (volume: number) => void;
366
+ /** Get the current avatar audio output volume in the range 0..1. */
367
+ getAudioVolume: () => number;
355
368
  }
356
369
  /**
357
370
  * Top-level SDK object exposed by the package. Call `init(token, config)` to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@touchcastllc/napster-companion-api-dev",
3
- "version": "1.0.0-alpha.47",
3
+ "version": "1.0.0-alpha.49",
4
4
  "keywords": [
5
5
  "napster",
6
6
  "companion-api",