Home
last modified time | relevance | path

Searched refs:NUM_SECONDS (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor_callback.cpp29 #define NUM_SECONDS 5 macro
39 const int loopsNeeded = NUM_SECONDS * displayRateHz; in main()
61 printf("Sleep for %d seconds while audio record in a callback thread.\n", NUM_SECONDS); in main()
96 printf("Sleep for %d seconds while audio records in a callback thread.\n", NUM_SECONDS); in main()
Dinput_monitor.cpp30 #define NUM_SECONDS 10 macro
132 framesToRecord = actualSampleRate * NUM_SECONDS; in main()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp30 #define NUM_SECONDS 5 macro
76 printf("Sleep for %d seconds while audio plays in a callback thread.\n", NUM_SECONDS); in main()
77 for (int second = 0; second < NUM_SECONDS; second++) in main()
Dwrite_sine.cpp28 #define NUM_SECONDS 20 macro
154 framesToPlay = actualSampleRate * NUM_SECONDS; in main()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp33 #define NUM_SECONDS 7 macro
385 loopbackData.audioRecorder.allocate(NUM_SECONDS * SAMPLE_RATE); in main()
494 sleep(NUM_SECONDS); in main()