From 293d446a8f4320b8d30a0ce3d34279b60f84d0b2 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Sat, 14 Sep 2024 20:13:15 -0400 Subject: [PATCH] actually add the file, you dummy --- src/libnaudio/n_synaddplayer.c | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/src/libnaudio/n_synaddplayer.c b/src/libnaudio/n_synaddplayer.c index 5d2d6e1..a4203d2 100644 --- a/src/libnaudio/n_synaddplayer.c +++ b/src/libnaudio/n_synaddplayer.c @@ -1,3 +1,33 @@ -#include "global.h" +/*==================================================================== + * + * Copyright 1993, Silicon Graphics, Inc. + * All Rights Reserved. + * + * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, + * Inc.; the contents of this file may not be disclosed to third + * parties, copied or duplicated in any form, in whole or in part, + * without the prior written permission of Silicon Graphics, Inc. + * + * RESTRICTED RIGHTS LEGEND: + * Use, duplication or disclosure by the Government is subject to + * restrictions as set forth in subdivision (c)(1)(ii) of the Rights + * in Technical Data and Computer Software clause at DFARS + * 252.227-7013, and/or in similar or successor clauses in the FAR, + * DOD or NASA FAR Supplement. Unpublished - rights reserved under the + * Copyright Laws of the United States. + *====================================================================*/ +#include +#include "n_synthInternals.h" + + +void n_alSynAddPlayer(ALPlayer *client) +{ + OSIntMask mask = osSetIntMask(OS_IM_NONE); + + client->samplesLeft = n_syn->curSamples; + client->next = n_syn->head; + n_syn->head = client; + + osSetIntMask(mask); +} -#pragma GLOBAL_ASM("asm/us/nonmatchings/libnaudio/n_synaddplayer/n_alSynAddPlayer.s")