Lines Matching refs:printf
113 printf("Sorry, MAX of %d channels!\n", MAX_CHANNELS); in setChannelCount()
233 printf("WARNING: setUsage not supported"); in applyParameters()
238 printf("WARNING: setContentType not supported"); in applyParameters()
243 printf("WARNING: setInputPreset not supported"); in applyParameters()
250 printf("WARNING: setAllowedCapturePolicy not supported"); in applyParameters()
317 printf("ERROR: invalid MMAP policy mode %i\n", policy); in parseArg()
371 printf("-c{channels} -d{deviceId} -m{mmapPolicy} -n{burstsPerBuffer} -p{perfMode}"); in usage()
372 printf(" -r{rate} -s{seconds} -x\n"); in usage()
373 printf(" Default values are UNSPECIFIED unless otherwise stated.\n"); in usage()
374 printf(" -b{bufferCapacity} frames\n"); in usage()
375 printf(" -c{channels} for example 2 for stereo\n"); in usage()
376 printf(" -C{a|s|n} set playback capture policy\n"); in usage()
377 printf(" a = _ALL (default)\n"); in usage()
378 printf(" s = _SYSTEM\n"); in usage()
379 printf(" n = _NONE\n"); in usage()
380 printf(" -d{deviceId} default is %d\n", AAUDIO_UNSPECIFIED); in usage()
381 printf(" -f{0|1|2} set format\n"); in usage()
382 printf(" 0 = UNSPECIFIED\n"); in usage()
383 printf(" 1 = PCM_I16\n"); in usage()
384 printf(" 2 = FLOAT\n"); in usage()
385 printf(" -i{inputPreset} eg. 5 for AAUDIO_INPUT_PRESET_CAMCORDER\n"); in usage()
386 printf(" -m{0|1|2|3} set MMAP policy\n"); in usage()
387 printf(" 0 = _UNSPECIFIED, use aaudio.mmap_policy system property, default\n"); in usage()
388 printf(" 1 = _NEVER, never use MMAP\n"); in usage()
389 printf(" 2 = _AUTO, use MMAP if available, default for -m with no number\n"); in usage()
390 printf(" 3 = _ALWAYS, use MMAP or fail\n"); in usage()
391 printf(" -n{numberOfBursts} for setBufferSize, default %d\n", kDefaultNumberOfBursts); in usage()
392 printf(" -p{performanceMode} set output AAUDIO_PERFORMANCE_MODE*, default NONE\n"); in usage()
393 printf(" n for _NONE\n"); in usage()
394 printf(" l for _LATENCY\n"); in usage()
395 printf(" p for _POWER_SAVING;\n"); in usage()
396 printf(" -r{sampleRate} for example 44100\n"); in usage()
397 printf(" -s{duration} in seconds, default is %d\n", DEFAULT_DURATION_SECONDS); in usage()
398 printf(" -u{usage} eg. 14 for AAUDIO_USAGE_GAME\n"); in usage()
399 printf(" -x to use EXCLUSIVE mode\n"); in usage()
400 printf(" -y{contentType} eg. 1 for AAUDIO_CONTENT_TYPE_SPEECH\n"); in usage()
401 printf(" -z{callbackSize} or block size, in frames, default = 0\n"); in usage()
417 printf("ERROR: invalid playback capture policy %c\n", c); in parseAllowedCapturePolicy()
436 printf("ERROR: invalid performance mode %c\n", c); in parsePerformanceMode()
448 printf(" DeviceId: requested = %d, actual = %d\n", in compareWithStream()
452 printf(" State: %s\n", AAudio_convertStreamStateToText(state)); in compareWithStream()
455 printf(" SampleRate: requested = %d, actual = %d\n", in compareWithStream()
458 printf(" ChannelCount: requested = %d, actual = %d\n", in compareWithStream()
461 printf(" DataFormat: requested = %d, actual = %d\n", in compareWithStream()
465 printf(" Buffer: burst = %d\n", framesPerBurst); in compareWithStream()
470 printf(" BufferSize: requested = %4d, actual = %4d = (%d * %d) + %d\n", in compareWithStream()
477 printf(" BufferSize: %d\n", sizeFrames); in compareWithStream()
481 printf(" Capacity: requested = %4d, actual = %4d = (%d * %d) + %d\n", in compareWithStream()
488 printf(" CallbackSize: requested = %d, actual = %d\n", getFramesPerCallback(), in compareWithStream()
491 printf(" SharingMode: requested = %s, actual = %s\n", in compareWithStream()
495 printf(" PerformanceMode: requested = %d, actual = %d\n", in compareWithStream()
501 printf(" Usage: requested = %d, actual = %d\n", in compareWithStream()
505 printf(" ContentType: requested = %d, actual = %d\n", in compareWithStream()
511 printf(" InputPreset: requested = %d, actual = %d\n", in compareWithStream()
515 printf(" Is MMAP used? %s\n", AAudioStream_isMMapUsed(stream) in compareWithStream()
519 printf(" ContentType: requested = %d, actual = %d\n", in compareWithStream()