@Override
    public void rewind()
    {
        switch( channelType )
        {
            case SoundSystemConfig.TYPE_NORMAL:
                if( clip != null )
                {
                    boolean rePlay = clip.isRunning();
                    clip.stop();
                    clip.setFramePosition(0);
                    if( rePlay )
                    {
                        if( toLoop )
                            clip.loop( Clip.LOOP_CONTINUOUSLY );
                        else
                            clip.start();
                    }
                }
                break;
            case SoundSystemConfig.TYPE_STREAMING:
                // rewinding for streaming sources is handled elsewhere
                break;
            default:
                break;
        }
    }