public void newMixer( Mixer m )
    {
        if( myMixer != m )
        {
            try
            {
                if( clip != null )
                    clip.close();
                else if( sourceDataLine != null )
                    sourceDataLine.close();
            }
            catch( SecurityException e )
            {}

            myMixer = m;
            if( attachedSource != null )
            {
                if( channelType == SoundSystemConfig.TYPE_NORMAL
                    && soundBuffer != null )
                    attachBuffer( soundBuffer );
                else if( myFormat != null )
                    resetStream( myFormat );
            }
        }
    }