Searched refs:argParser (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor_callback.cpp | 31 AAudioArgsParser argParser; in main() local 46 if (argParser.parseArgs(argc, argv)) { in main() 50 result = recorder.open(argParser, in main() 60 argParser.compareWithStream(aaudioStream); in main() 72 argParser.getDurationSeconds()); in main() 73 loopsNeeded = argParser.getDurationSeconds() * displayRateHz; in main() 109 argParser.getDurationSeconds()); in main() 125 argParser.compareWithStream(aaudioStream); in main()
|
D | input_monitor.cpp | 35 AAudioArgsParser argParser; in main() local 64 if (argParser.parseArgs(argc, argv)) { in main() 68 result = recorder.open(argParser); in main() 75 argParser.compareWithStream(aaudioStream); in main() 124 framesToRecord = actualSampleRate * argParser.getDurationSeconds(); in main() 204 argParser.compareWithStream(aaudioStream); in main()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 44 static aaudio_result_t testOpenPlayClose(AAudioArgsParser &argParser, in testOpenPlayClose() argument 61 result = player.open(argParser, in testOpenPlayClose() 71 argParser.compareWithStream(player.getStream()); in testOpenPlayClose() 97 durationSeconds = argParser.getDurationSeconds(); in testOpenPlayClose() 115 argParser.getDurationSeconds(), (loopIndex + 1), loopCount); in testOpenPlayClose() 230 AAudioArgsParser argParser; in main() local 245 if (argParser.parseArg(arg)) { in main() 275 while((result = testOpenPlayClose(argParser, loopCount, in main()
|
D | write_sine.cpp | 35 AAudioArgsParser argParser; in main() local 62 if (argParser.parseArgs(argc, argv)) { in main() 66 result = player.open(argParser); in main() 74 argParser.compareWithStream(aaudioStream); in main() 118 framesToPlay = actualSampleRate * argParser.getDurationSeconds(); in main()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 412 AAudioArgsParser argParser; in main() local 445 argParser.setPerformanceMode(AAUDIO_PERFORMANCE_MODE_LOW_LATENCY); in main() 449 if (argParser.parseArg(arg)) { in main() 506 int32_t requestedDuration = argParser.getDurationSeconds(); in main() 511 int32_t requestedOutputBursts = argParser.getNumberOfBursts(); in main() 538 result = player.open(argParser, MyDataCallbackProc, MyErrorCallbackProc, &loopbackData); in main() 556 argParser.compareWithStream(outputStream); in main() 560 argParser.setDeviceId(requestedInputDeviceId); in main() 561 argParser.setNumberOfBursts(AAudioParameters::kDefaultNumberOfBursts); in main() 562 argParser.setFormat(requestedInputFormat); in main() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_aaudio_monkey.cpp | 63 AAudioMonkey(int index, AAudioArgsParser *argParser) in AAudioMonkey() argument 64 : mArgParser(argParser) in AAudioMonkey() 234 AAudioArgsParser argParser; in main() local 249 if (argParser.parseArg(arg)) { in main() 277 monkeys.emplace_back(m, &argParser); in main()
|