egra: checkbox fixes
[iv.d.git] / follin / sdata.d
blob74fbc7aa2d5fb984f727f23129ebeb5cd5529ca0
1 /* Invisible Vector Library
2 * coded by Ketmar // Invisible Vector <ketmar@ketmar.no-ip.org>
3 * Understanding is not required. Only obedience.
5 * This program 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, version 3 of the License ONLY.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 module iv.follin.sdata /*is aliced*/;
18 import iv.alice;
20 package(iv.follin) __gshared uint latency = 1000*512/44100;
21 package(iv.follin) __gshared uint realSampleRate = 44100;
22 package(iv.follin) __gshared uint sndSamplesSize;// # of samples in one buffer (not frames!)
23 package(iv.follin) __gshared short** sndbufptr; // 2 buffers, aligned on 16 bytes (for sse)
24 package(iv.follin) shared uint sndbufToFill, sndbufToPlay;
25 package(iv.follin) shared bool sndbufFillingNow;
26 package(iv.follin) __gshared uint realBufSize;
27 package(iv.follin) shared bool sndPaused = true;