# -*- coding: utf-8 -*-
"""Constantes de BASSmix (bassmix.dll)."""

# Config
BASS_CONFIG_MIXER_FILTER = 0x10600
BASS_CONFIG_MIXER_BUFFER = 0x10601
BASS_CONFIG_MIXER_POSEX = 0x10602
BASS_CONFIG_SPLIT_BUFFER = 0x10610

# Flags de BASS_Mixer_StreamCreate
BASS_MIXER_END = 0x10000
BASS_MIXER_NONSTOP = 0x20000
BASS_MIXER_RESUME = 0x1000

# Flags de fuente
BASS_MIXER_FILTER = 0x1000
BASS_MIXER_BUFFER = 0x2000
BASS_MIXER_LIMIT = 0x4000
BASS_MIXER_MATRIX = 0x10000
BASS_MIXER_PAUSE = 0x20000
BASS_MIXER_DOWNMIX = 0x400000
BASS_MIXER_NORAMPIN = 0x800000
BASS_MIXER_CHAN_ABSOLUTE = 0x1000
BASS_MIXER_CHAN_BUFFER = BASS_MIXER_BUFFER
BASS_MIXER_CHAN_LIMIT = BASS_MIXER_LIMIT
BASS_MIXER_CHAN_MATRIX = BASS_MIXER_MATRIX
BASS_MIXER_CHAN_PAUSE = BASS_MIXER_PAUSE
BASS_MIXER_CHAN_DOWNMIX = BASS_MIXER_DOWNMIX
BASS_MIXER_CHAN_NORAMPIN = BASS_MIXER_NORAMPIN

# Tipos de envolvente
BASS_MIXER_ENV_FREQ = 1
BASS_MIXER_ENV_VOL = 2
BASS_MIXER_ENV_PAN = 3
BASS_MIXER_ENV_LOOP = 0x10000

# Sync adicional
BASS_SYNC_MIXER_ENVELOPE = 0x10200
BASS_SYNC_MIXER_ENVELOPE_NODE = 0x10201

# Tipos de canal
BASS_CTYPE_STREAM_MIXER = 0x10800
BASS_CTYPE_STREAM_SPLIT = 0x10801

# Atributos
BASS_ATTRIB_MIXER_LATENCY = 0x15000
BASS_ATTRIB_MIXER_THREADS = 0x15001
BASS_ATTRIB_MIXER_VOL = 0x15002
BASS_ATTRIB_SPLIT_ASYNCBUFFER = 0x15010
BASS_ATTRIB_SPLIT_ASYNCPERIOD = 0x15011
