PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
ut_pb.c
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright ps2dev - http://www.ps2dev.org
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
11#include "libsnd2_internal.h"
12
13s16 SsUtPitchBend(s16 vc, s16 vab_id, s16 prog, s16 note, s16 pbend)
14{
15 (void)note;
16
17 _SsVmVSetUp(vab_id, prog);
18 _svm_cur.m_seq_sep_no = 33;
19 if ( _SsVmPBVoice(vc, 33, vab_id, prog, pbend) == 0 )
20 return -1;
21 return 0;
22}