extern int Sound_GetEnvelopePos(int);
int Sound_CmpEnvelopePos(int x, int y)
{
  return Sound_GetEnvelopePos(x) < y;
}
