public String assignProviderAudioSocket(AbstractProviderConnection connection){
  String socket=connection.getAudioSocketName();
  if (socket == null) {
    socket="com.fastbootmobile.encore.AUDIO_SOCKET_" + connection.getProviderName() + "_"+ System.currentTimeMillis();
    if (connection.createAudioSocket(mNativeHub,socket)) {
      Log.i(TAG,"Provider connected and socket set: " + connection.getProviderName());
    }
 else {
      Log.w(TAG,"Error while creating audio socket for " + connection.getProviderName());
    }
  }
  return socket;
}

public String assignProviderAudioSocket ( AbstractProviderConnection connection ) { String socket = connection . getAudioSocketName ( ) ; if ( socket == null ) { socket = "com.fastbootmobile.encore.AUDIO_SOCKET_" + connection . getProviderName ( ) + "_" + System . currentTimeMillis ( ) ; if ( connection . createAudioSocket ( mNativeHub , socket ) ) { Log . i ( TAG , "Provider connected and socket set: " + connection . getProviderName ( ) ) ; } else { Log . w ( TAG , "Error while creating audio socket for " + connection . getProviderName ( ) ) ; } } return socket ; }
assigns the provided provider an audio client socket
