| 1 | /* LPC_def.h |
| 2 | * |
| 3 | * Copyright (C) 1994-2018 David Weenink |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This code is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | |
| 20 | #define ooSTRUCTcxx . . $ `LPC/LPC_def.h:20:9`! LPC_Frame |
| 21 | oo_DEFINE_STRUCTcxx . . $ `sys/oo.h:159:9`! (LPC_Frame) |
| 22 | |
| 23 | oo_INTcxx . . $ `sys/oo.h:44:9`! (nCoefficients) |
| 24 | #if oo_READING_BINARYcxx . . $ `sys/oo.h:237:9`! |
| 25 | oo_VERSION_UNTIL (1) |
| 26 | oo_obsoleteVEC32 (a, nCoefficients) |
| 27 | oo_FLOAT (gain) |
| 28 | oo_VERSION_ELSE |
| 29 | oo_VEC (a, nCoefficients) |
| 30 | oo_DOUBLE (gain) |
| 31 | oo_VERSION_END |
| 32 | #else |
| 33 | oo_VECcxx . . $ `sys/oo.h:74:9`! (a, nCoefficients) |
| 34 | oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (gain) |
| 35 | #endif |
| 36 | #if oo_DECLARINGcxx . . $ `sys/oo.h:230:9`! |
| 37 | void resizecxx . . $ structLPC_Frame#resize(1624ee8275b10bda). (integercxx . . $ integer# newSize) { |
| 38 | acxx . . $ structLPC_Frame#a..resizecxx . . $ autovector#resize(d91e89fbd57cd1). (newSize); |
| 39 | nCoefficientscxx . . $ structLPC_Frame#nCoefficients. = newSize; // maintain invariant |
| 40 | } |
| 41 | #endif |
| 42 | |
| 43 | oo_END_STRUCTcxx . . $ `sys/oo.h:163:9`! (LPC_Frame) |
| 44 | #undef ooSTRUCTcxx . . $ `LPC/LPC_def.h:20:9`! |
| 45 | |
| 46 | |
| 47 | #define ooSTRUCTcxx . . $ `LPC/LPC_def.h:47:9`! LPC |
| 48 | oo_DEFINE_CLASScxx . . $ `sys/oo.h:176:9`! (LPC, Sampled) |
| 49 | |
| 50 | oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (samplingPeriod) // from Sound |
| 51 | oo_INTcxx . . $ `sys/oo.h:44:9`! (maxnCoefficients) |
| 52 | oo_STRUCTVECcxx . . $ `sys/oo.h:146:9`! (LPC_Frame, d_frames, nx) |
| 53 | |
| 54 | #if oo_DECLARINGcxx . . $ `sys/oo.h:230:9`! |
| 55 | void v1_infocxx . . $ structLPC#v1_info(49f6e7a06ebc5aa8). () |
| 56 | override; |
| 57 | conststring32cxx . . $ conststring32# v_getIndexTextcxx . . $ structLPC#v_getIndexText(d608cbfe2b610d03). () const |
| 58 | override { return U"frame number"; } |
| 59 | conststring32cxx . . $ conststring32# v_getNxTextcxx . . $ structLPC#v_getNxText(d608cbfe2b610d03). () const |
| 60 | override { return U"the number of frames"; } |
| 61 | #endif |
| 62 | |
| 63 | oo_END_CLASScxx . . $ `sys/oo.h:186:9`! (LPC) |
| 64 | #undef ooSTRUCTcxx . . $ `LPC/LPC_def.h:47:9`! |
| 65 | |
| 66 | |
| 67 | /* End of file LPC_def.h */ |