! */
| 879 | /*! |
| 880 | */ |
| 881 | int CScriptObjectSound::SetLoopPoints(IFunctionHandler *pH) |
| 882 | { |
| 883 | CHECK_PARAMETERS(3); |
| 884 | |
| 885 | int nID = 0, iLoopPt1, iLoopPt2; |
| 886 | ISound *pISound = NULL; |
| 887 | int nCookie=0; |
| 888 | pH->GetParamUDVal(1,(INT_PTR &)pISound,nCookie); //AMD Port |
| 889 | pH->GetParam(2, iLoopPt1); |
| 890 | pH->GetParam(3, iLoopPt2); |
| 891 | if (pISound && (nCookie==USER_DATA_SOUND)) |
| 892 | pISound->SetLoopPoints(iLoopPt1, iLoopPt2); |
| 893 | |
| 894 | |
| 895 | return pH->EndFunction(); |
| 896 | } |
| 897 | |
| 898 | /*! |
| 899 | */ |
nothing calls this directly
no test coverage detected