| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
#ifndef _ASTERISK_HRIRS_CONFIGURATION_H |
| 31 |
#define _ASTERISK_HRIRS_CONFIGURATION_H |
| 32 |
|
| 33 |
#include "hrirs.h" |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
#define POSITION_SIZE 181 |
| 39 |
|
| 40 |
#if POSITION_SIZE != HRIRS_IMPULSE_SIZE |
| 41 |
#error "The conference is designed for 181 individual places at the moment. If you want to change this please alter the positions array first." |
| 42 |
#endif |
| 43 |
|
| 44 |
|
| 45 |
#define HRIRS_CHANNEL_LEFT 0 |
| 46 |
|
| 47 |
#define HRIRS_CHANNEL_RIGHT 1 |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
static unsigned int ast_binaural_positions[POSITION_SIZE] = { |
| 53 |
90, 80, 100, 70, 110, 60, 120, 50, 130, 40, 140, 20, 160, 0, 180, 85, 95, 75, 105, 65, 115, |
| 54 |
55, 125, 45, 135, 30, 150, 10, 170, 87, 93, 82, 98, 77, 103, 72, 108, 67, 113, 62, 118, 57, |
| 55 |
123, 52, 128, 47, 133, 42, 138, 35, 145, 25, 155, 15, 165, 5, 175, 88, 92, 86, 83, 97, 81, |
| 56 |
99, 78, 102, 76, 104, 73, 94, 107, 71, 109, 68, 112, 66, 114, 63, 117, 61, 119, 58, 122, 56, |
| 57 |
124, 53, 127, 51, 129, 48, 132, 46, 134, 43, 137, 41, 139, 37, 143, 32, 148, 27, 153, 22, |
| 58 |
158, 17, 163, 12, 168, 7, 96, 173, 2, 178, 89, 91, 84, 79, 101, 74, 106, 69, 111, 64, 116, |
| 59 |
59, 121, 54, 126, 49, 131, 44, 136, 38, 142, 36, 144, 33, 147, 31, 149, 28, 152, 26, 154, |
| 60 |
23, 157, 21, 159, 162, 16, 164, 13, 167, 11, 169, 8, 172, 6, 174, 3, 177, 1, 179, 39, 141, |
| 61 |
34, 146, 29, 151, 24, 156, 19, 161, 14, 166, 9, 171, 4, 18, 176 }; |
| 62 |
|
| 63 |
#endif |