mcpx: Move VP files into vp/

This commit is contained in:
Matt Borgerson 2025-06-03 19:17:09 -07:00 committed by mborgerson
parent 2321dbfeb6
commit ba6f7f360e
8 changed files with 13 additions and 8 deletions

View File

@ -45,7 +45,7 @@
#include "apu_regs.h"
#include "apu_debug.h"
#include "fpconv.h"
#include "vp.h"
#include "vp/vp.h"
#define GET_MASK(v, mask) (((v) & (mask)) >> ctz32(mask))

View File

@ -1,12 +1,13 @@
subdir('dsp')
mcpx_ss = ss.source_set()
mcpx_ss.add(sdl, libsamplerate, dsp, files(
mcpx_ss.add(sdl, dsp, files(
'apu.c',
'aci.c',
'debug.c',
'dsp.c',
'vp.c'
))
subdir('vp')
specific_ss.add_all(mcpx_ss)

View File

@ -24,7 +24,7 @@
#include <stddef.h>
#include <math.h>
#include "apu_regs.h"
#include "hw/xbox/mcpx/apu_regs.h"
#define HRTF_SAMPLES_PER_FRAME NUM_SAMPLES_PER_FRAME
#define HRTF_NUM_TAPS 31

View File

@ -0,0 +1,3 @@
mcpx_ss.add(libsamplerate, files(
'vp.c'
))

View File

@ -19,7 +19,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "apu_int.h"
#include "hw/xbox/mcpx/apu_int.h"
#include "adpcm.h"
static const struct {

View File

@ -21,12 +21,13 @@
#ifndef HW_XBOX_MCPX_VP_H
#define HW_XBOX_MCPX_VP_H
#include <samplerate.h>
#include "qemu/osdep.h"
#include "qemu/thread.h"
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include "qemu/thread.h"
#include "apu_regs.h"
#include <samplerate.h>
#include "hw/xbox/mcpx/apu_regs.h"
#include "svf.h"
#include "hrtf.h"