1
#ifdef CONFIG_OSS_VMIX_FLOAT
3
* Purpose: Recording device to local input buffer import routine for vmix
7
* This file is part of Open Sound System.
9
* Copyright (C) 4Front Technologies 1996-2008.
11
* This this source file is released under GPL v2 license (no other versions).
12
* See the COPYING file included in the main directory of this source
13
* distribution for the license terms and conditions.
20
vol = vmix_db_table[eng->outvol / 5];
22
for (ch = 0; ch < channels; ch++)
30
op = (SAMPLE_TYPE *) inbuf;
35
for (i = 0; i < samples; i++)
39
#if 0 && defined(SINE_DEBUG)
40
/* Generate internal sine wave test signal */
44
tmp = sine_table[sine_phase[ch]];
45
sine_phase[ch] = (sine_phase[ch] + 1) % SINE_SIZE;
48
tmp = VMIX_BYTESWAP (*op);
72
eng->vu[ch] = (int)vu;
76
#include "vmix_import_int.inc"