网
网络3K
Unregistered / Unconfirmed
GUEST, unregistred user!
如题:
void CALLBACK SwapDSP(HDSP handle, DWORD channel, void *buffer, DWORD length, DWORD user)
{
short *s=buffer;
for (;length;length-=4,s+=2) {
short temp=s[0];
s[0]=s[1];
s[1]=temp;
}
}
void CALLBACK SwapDSP(HDSP handle, DWORD channel, void *buffer, DWORD length, DWORD user)
{
short *s=buffer;
for (;length;length-=4,s+=2) {
short temp=s[0];
s[0]=s[1];
s[1]=temp;
}
}