Home | History | Annotate | Download | only in tests

Lines Matching refs:result

30     aaudio_result_t result = AAUDIO_OK;
51 result = AAudio_createStreamBuilder(&aaudioBuilder);
52 if (result != AAUDIO_OK) {
54 AAudio_convertResultToText(result));
63 result = AAudioStreamBuilder_openStream(aaudioBuilder, &aaudioStream);
64 if (result != AAUDIO_OK) {
66 AAudio_convertResultToText(result));
88 result = AAudioStream_requestStart(aaudioStream);
89 if (result != AAUDIO_OK) {
91 AAudio_convertResultToText(result));
99 while (result == AAUDIO_OK && framesTotal < framesMax) {
104 result = framesWritten;
106 AAudio_convertResultToText(result), (int)framesTotal);
110 result = AAUDIO_ERROR_TIMEOUT;
119 result = AAudioStream_requestStop(aaudioStream);
120 if (result != AAUDIO_OK) {
122 AAudio_convertResultToText(result));
124 result = AAudioStream_close(aaudioStream);
125 if (result != AAUDIO_OK) {
127 AAudio_convertResultToText(result));
138 printf(" result = %d = %s\n", result, AAudio_convertResultToText(result));