variable MP3_CHANNEL_MODE

Values used by the channelMode field.

Examples

Example 1

import { assertEquals } from "@std/assert";
import { MP3_CHANNEL_MODE } from "@binstruct/mp3";

assertEquals(MP3_CHANNEL_MODE.STEREO, 0b00);
assertEquals(MP3_CHANNEL_MODE.MONO, 0b11);

Properties

STEREO: number

Two independently encoded channels.

Stereo encoded with joint-stereo techniques; see modeExtension.

Two channels encoded as if unrelated (two mono streams).

MONO: number

Single channel.

Usage

import { MP3_CHANNEL_MODE } from ".";