Mercurial > hg > dmlib
changeset 171:2023c2d8d6e7
Remove redundant function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 06 Oct 2012 09:36:33 +0300 |
parents | fb95285c3ed9 |
children | cfb087000db3 |
files | jssplr.c |
diffstat | 1 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/jssplr.c Sat Oct 06 09:35:19 2012 +0300 +++ b/jssplr.c Sat Oct 06 09:36:33 2012 +0300 @@ -158,15 +158,6 @@ } -static void jmpCSetPosition(JSSPlayer * mp, int channel, int value) -{ - assert(mp != NULL); - assert(mp->device != NULL); - - jvmSetPos(mp->device, channel, value); -} - - static int jmpFindEnvPoint(JSSEnvelope * env, const int pos) { int i; @@ -1571,7 +1562,7 @@ jmpCSetPitch(mp, channel, chn->iCPitch); if (flags & cdfNewPos) - jmpCSetPosition(mp, channel, chn->iCPosition); + jvmSetPos(mp->device, channel, chn->iCPosition); if (flags & cdfNewVolume) jmpCSetVolume(mp, chn, channel, chn->iCVolume, flags & cdfNewInstr);