sample/vs_android.cc
/**
 * Creates a stream builder which can be used to construct streams
 * @return a new stream builder object
 */
Creates a stream builder which can be used to construct streams
@return a new stream builder object
Creates a stream builder which can be used to construct streams @return a new stream builder object
AAudioStreamBuilder *VsAndroidCapture::createStreamBuilder() {
  AAudioStreamBuilder *builder = nullptr;
  aaudio_result_t result = AAudio_createStreamBuilder(&builder);
  if (result != AAUDIO_OK) {
    LOGE("Error creating stream builder: %s", AAudio_convertResultToText(result));
  }
  return builder;
}
AAudioStreamBuilder * VsAndroidCapture :: createStreamBuilder ( ) { AAudioStreamBuilder * builder = nullptr ; aaudio_result_t result = AAudio_createStreamBuilder ( & builder ) ; if ( result != AAUDIO_OK ) { LOGE ( " " , AAudio_convertResultToText ( result ) ) ; } return builder ; }
Creates a stream builder which can be used to construct streams
 @return a new stream builder object
Creates a stream builder which can be used to construct streams @return a new stream builder object