You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.0 KiB
C

//
// G A M E.O.N.E - LOW LEVEL LIB V1.0
// Copyright (C) 2001 LEVEL ONE ENTERTAINMENT,
// Licensed under the terms of LGPL.
//:---------------------------------------------------------------------------
//:Description
//
// LOW LEVEL MIXER DRIVER INCLUDE FILE
//
#ifndef _LLSOUND_MIXER_H
#define _LLSOUND_MIXER_H
#include "llsound.h"
typedef unsigned char TxU8;
typedef unsigned short TxU16;
typedef short TxI16;
typedef unsigned long TxU32;
typedef long TxI32;
int llsound_SetMasterVolume(TxU16 L, TxU16 R); // 0-0xFFFF(65535)
int llsound_SetMasterVolume(TxU8 L, TxU8 R); // 0-100(%)
int llsound_SetMasterVolume(float L, float R); // 0.0f-1.0f
int llsound_SetCDVolume(TxU16 L, TxU16 R); // 0-0xFFFF(65535)
int llsound_SetCDVolume(TxU8 L, TxU8 R); // 0-100(%)
int llsound_SetCDVolume(float L, float R); // 0.0f-1.0f
int llsound_SetWaveVolume(TxU16 L, TxU16 R); // 0-0xFFFF(65535)
int llsound_SetWaveVolume(TxU8 L, TxU8 R); // 0-100(%)
int llsound_SetWaveVolume(float L, float R); // 0.0f-1.0f
int llsound_SetMidiVolume(TxU16 L, TxU16 R); // 0-0xFFFF(65535)
int llsound_SetMidiVolume(TxU8 L, TxU8 R); // 0-100(%)
int llsound_SetMidiVolume(float L, float R); // 0.0f-1.0f
int llsound_GetMasterVolume(TxU16 *L, TxU16 *R); // 0-0xFFFF(65535)
int llsound_GetMasterVolume(TxU8 *L, TxU8 *R); // 0-100(%)
int llsound_GetMasterVolume(float *L, float *R); // 0.0f-1.0f
int llsound_GetCDVolume(TxU16 *L, TxU16 *R); // 0-0xFFFF(65535)
int llsound_GetCDVolume(TxU8 *L, TxU8 *R); // 0-100(%)
int llsound_GetCDVolume(float *L, float *R); // 0.0f-1.0f
int llsound_GetWaveVolume(TxU16 *L, TxU16 *R); // 0-0xFFFF(65535)
int llsound_GetWaveVolume(TxU8 *L, TxU8 *R); // 0-100(%)
int llsound_GetWaveVolume(float *L, float *R); // 0.0f-1.0f
int llsound_GetMidiVolume(TxU16 *L, TxU16 *R); // 0-0xFFFF(65535)
int llsound_GetMidiVolume(TxU8 *L, TxU8 *R); // 0-100(%)
int llsound_GetMidiVolume(float *L, float *R); // 0.0f-1.0f
void llsound_ResetMixer(void); // Restores Initial Values
#endif // _LLSOUND_MIXER_H