@@ -169,6 +169,7 @@ typedef DWORD HPLUGIN; // plugin handle
169
169
#define BASS_CONFIG_NET_PROXY 17
170
170
#define BASS_CONFIG_IOS_NOTIFY 46
171
171
#define BASS_CONFIG_LIBSSL 64
172
+ #define BASS_CONFIG_FILENAME 75
172
173
173
174
#define BASS_CONFIG_THREAD 0x40000000 // flag: thread-specific setting
174
175
@@ -360,21 +361,24 @@ typedef struct {
360
361
#define BASS_MUSIC_NOSAMPLE 0x100000 // don't load the samples
361
362
362
363
// Speaker assignment flags
363
- #define BASS_SPEAKER_FRONT 0x1000000 // front speakers
364
- #define BASS_SPEAKER_REAR 0x2000000 // rear/side speakers
365
- #define BASS_SPEAKER_CENLFE 0x3000000 // center & LFE speakers (5.1)
366
- #define BASS_SPEAKER_REAR2 0x4000000 // rear center speakers (7.1)
367
- #define BASS_SPEAKER_N (n ) ((n)<<24) // n'th pair of speakers (max 15)
368
- #define BASS_SPEAKER_LEFT 0x10000000 // modifier: left
369
- #define BASS_SPEAKER_RIGHT 0x20000000 // modifier: right
370
- #define BASS_SPEAKER_FRONTLEFT BASS_SPEAKER_FRONT|BASS_SPEAKER_LEFT
371
- #define BASS_SPEAKER_FRONTRIGHT BASS_SPEAKER_FRONT|BASS_SPEAKER_RIGHT
372
- #define BASS_SPEAKER_REARLEFT BASS_SPEAKER_REAR|BASS_SPEAKER_LEFT
373
- #define BASS_SPEAKER_REARRIGHT BASS_SPEAKER_REAR|BASS_SPEAKER_RIGHT
374
- #define BASS_SPEAKER_CENTER BASS_SPEAKER_CENLFE|BASS_SPEAKER_LEFT
375
- #define BASS_SPEAKER_LFE BASS_SPEAKER_CENLFE|BASS_SPEAKER_RIGHT
376
- #define BASS_SPEAKER_REAR2LEFT BASS_SPEAKER_REAR2|BASS_SPEAKER_LEFT
377
- #define BASS_SPEAKER_REAR2RIGHT BASS_SPEAKER_REAR2|BASS_SPEAKER_RIGHT
364
+ #define BASS_SPEAKER_FRONT 0x1000000 // front speakers
365
+ #define BASS_SPEAKER_REAR 0x2000000 // rear speakers
366
+ #define BASS_SPEAKER_CENLFE 0x3000000 // center & LFE speakers (5.1)
367
+ #define BASS_SPEAKER_SIDE 0x4000000 // side speakers (7.1)
368
+ #define BASS_SPEAKER_N (n ) ((n)<<24) // n'th pair of speakers (max 15)
369
+ #define BASS_SPEAKER_LEFT 0x10000000 // modifier: left
370
+ #define BASS_SPEAKER_RIGHT 0x20000000 // modifier: right
371
+ #define BASS_SPEAKER_FRONTLEFT BASS_SPEAKER_FRONT | BASS_SPEAKER_LEFT
372
+ #define BASS_SPEAKER_FRONTRIGHT BASS_SPEAKER_FRONT | BASS_SPEAKER_RIGHT
373
+ #define BASS_SPEAKER_REARLEFT BASS_SPEAKER_REAR | BASS_SPEAKER_LEFT
374
+ #define BASS_SPEAKER_REARRIGHT BASS_SPEAKER_REAR | BASS_SPEAKER_RIGHT
375
+ #define BASS_SPEAKER_CENTER BASS_SPEAKER_CENLFE | BASS_SPEAKER_LEFT
376
+ #define BASS_SPEAKER_LFE BASS_SPEAKER_CENLFE | BASS_SPEAKER_RIGHT
377
+ #define BASS_SPEAKER_SIDELEFT BASS_SPEAKER_SIDE | BASS_SPEAKER_LEFT
378
+ #define BASS_SPEAKER_SIDERIGHT BASS_SPEAKER_SIDE | BASS_SPEAKER_RIGHT
379
+ #define BASS_SPEAKER_REAR2 BASS_SPEAKER_SIDE
380
+ #define BASS_SPEAKER_REAR2LEFT BASS_SPEAKER_SIDELEFT
381
+ #define BASS_SPEAKER_REAR2RIGHT BASS_SPEAKER_SIDERIGHT
378
382
379
383
#define BASS_ASYNCFILE 0x40000000 // read file asynchronously
380
384
#define BASS_UNICODE 0x80000000 // UTF-16
@@ -453,8 +457,8 @@ typedef struct {
453
457
// 3D vector (for 3D positions/velocities/orientations)
454
458
typedef struct BASS_3DVECTOR {
455
459
#ifdef __cplusplus
456
- BASS_3DVECTOR () {};
457
- BASS_3DVECTOR (float _x , float _y , float _z ) : x (_x ), y (_y ), z (_z ) {};
460
+ BASS_3DVECTOR () {}
461
+ BASS_3DVECTOR (float _x , float _y , float _z ) : x (_x ), y (_y ), z (_z ) {}
458
462
#endif
459
463
float x ; // +=right, -=left
460
464
float y ; // +=up, -=down
@@ -601,6 +605,8 @@ RETURN : TRUE = continue recording, FALSE = stop */
601
605
#define BASS_ATTRIB_TAIL 16
602
606
#define BASS_ATTRIB_PUSH_LIMIT 17
603
607
#define BASS_ATTRIB_DOWNLOADPROC 18
608
+ #define BASS_ATTRIB_VOLDSP 19
609
+ #define BASS_ATTRIB_VOLDSP_PRIORITY 20
604
610
#define BASS_ATTRIB_MUSIC_AMPLIFY 0x100
605
611
#define BASS_ATTRIB_MUSIC_PANSEP 0x101
606
612
#define BASS_ATTRIB_MUSIC_PSCALER 0x102
@@ -617,7 +623,7 @@ RETURN : TRUE = continue recording, FALSE = stop */
617
623
// BASS_ChannelGetData flags
618
624
#define BASS_DATA_AVAILABLE 0 // query how much data is buffered
619
625
#define BASS_DATA_NOREMOVE 0x10000000 // flag: don't remove data from recording buffer
620
- #define BASS_DATA_FIXED 0x20000000 // flag: return 8.24 fixed-point data
626
+ #define BASS_DATA_FIXED 0x20000000 // unused
621
627
#define BASS_DATA_FLOAT 0x40000000 // flag: return floating-point sample data
622
628
#define BASS_DATA_FFT256 0x80000000 // 256 sample FFT
623
629
#define BASS_DATA_FFT512 0x80000001 // 512 FFT
@@ -1065,6 +1071,7 @@ DWORD BASSDEF(BASS_ChannelFlags)(DWORD handle, DWORD flags, DWORD mask);
1065
1071
BOOL BASSDEF (BASS_ChannelLock )(DWORD handle , BOOL lock );
1066
1072
BOOL BASSDEF (BASS_ChannelFree )(DWORD handle );
1067
1073
BOOL BASSDEF (BASS_ChannelPlay )(DWORD handle , BOOL restart );
1074
+ BOOL BASSDEF (BASS_ChannelStart )(DWORD handle );
1068
1075
BOOL BASSDEF (BASS_ChannelStop )(DWORD handle );
1069
1076
BOOL BASSDEF (BASS_ChannelPause )(DWORD handle );
1070
1077
BOOL BASSDEF (BASS_ChannelUpdate )(DWORD handle , DWORD length );
0 commit comments