Searched refs:actualDataFormat (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 54 aaudio_format_t actualDataFormat = AAUDIO_FORMAT_UNSPECIFIED; in main() local 128 actualDataFormat = AAudioStream_getFormat(aaudioStream); in main() 129 printf("DataFormat: requested = %d, actual = %d\n", REQUESTED_FORMAT, actualDataFormat); in main() 133 if (actualDataFormat == AAUDIO_FORMAT_PCM_FLOAT) { in main() 135 } else if (actualDataFormat == AAUDIO_FORMAT_PCM_I16) { in main() 158 if (actualDataFormat == AAUDIO_FORMAT_PCM_FLOAT) { in main() 164 } else if (actualDataFormat == AAUDIO_FORMAT_PCM_I16) { in main() 176 if (actualDataFormat == AAUDIO_FORMAT_PCM_FLOAT) { in main() 178 } else if (actualDataFormat == AAUDIO_FORMAT_PCM_I16) { in main()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_open_params.cpp | 69 aaudio_format_t actualDataFormat = AAUDIO_FORMAT_UNSPECIFIED; in testOpenOptions() local 103 actualDataFormat = AAudioStream_getFormat(aaudioStream); in testOpenOptions() 107 direction, actualChannelCount, actualSampleRate, actualDataFormat); in testOpenOptions() 117 EXPECT_EQ(format, actualDataFormat); in testOpenOptions()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 43 aaudio_format_t actualDataFormat; in main() local 105 actualDataFormat = AAudioStream_getFormat(aaudioStream); in main() 106 printf("DataFormat: requested = %d, actual = %d\n", requestedDataFormat, actualDataFormat); in main() 108 assert(actualDataFormat == AAUDIO_FORMAT_PCM_I16); in main()
|