added stereoVolumeVector and surroundVolumeVector-declarations
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@870 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -26,10 +26,30 @@
|
||||
#ifndef _VOLUME_H
|
||||
#define _VOLUME_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
|
||||
const volume MinVolume = 0;
|
||||
const volume MaxVolume = 200;
|
||||
const volume DefaultVolume = 100;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
float vol[2];
|
||||
} stereoVolumeVector;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
#ifndef DISABLE_SURROUND
|
||||
float vol[4];
|
||||
#else
|
||||
float vol[2];
|
||||
#endif
|
||||
} surroundVolumeVector;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user