comparison core/RTAudioCommandLine.cpp @ 52:a6d223473ea2 newapi

Updated examples for new API. tank_wars not yet updated; audio_in_FFT and oscillator_bank not working properly yet.
author andrewm
date Sun, 31 May 2015 02:13:39 -0500
parents be427da6fb9c
children e63563507edd
comparison
equal deleted inserted replaced
51:4f8db16f17b5 52:a6d223473ea2
221 std::cerr << " --period [-p] period: Set the hardware period (buffer) size in analog samples\n"; 221 std::cerr << " --period [-p] period: Set the hardware period (buffer) size in analog samples\n";
222 std::cerr << " --dac-level [-D] dBs: Set the DAC output level (0dB max; -63.5dB min)\n"; 222 std::cerr << " --dac-level [-D] dBs: Set the DAC output level (0dB max; -63.5dB min)\n";
223 std::cerr << " --adc-level [-A] dBs: Set the ADC input level (0dB max; -12dB min)\n"; 223 std::cerr << " --adc-level [-A] dBs: Set the ADC input level (0dB max; -12dB min)\n";
224 std::cerr << " --hp-level [-H] dBs: Set the headphone output level (0dB max; -63.5dB min)\n"; 224 std::cerr << " --hp-level [-H] dBs: Set the headphone output level (0dB max; -63.5dB min)\n";
225 std::cerr << " --mute-speaker [-M] val: Set whether to mute the speaker initially (default: no)\n"; 225 std::cerr << " --mute-speaker [-M] val: Set whether to mute the speaker initially (default: no)\n";
226 std::cerr << " --use-analog [-m] val: Set whether to use ADC/DAC analog (default: yes)\n"; 226 std::cerr << " --use-analog [-N] val: Set whether to use ADC/DAC analog (default: yes)\n";
227 std::cerr << " --use-digital [-g] val: Set whether to use digital GPIO channels (default: yes)\n"; 227 std::cerr << " --use-digital [-G] val: Set whether to use digital GPIO channels (default: yes)\n";
228 std::cerr << " --analog-channels [-C] val: Set the number of ADC/DAC channels (default: 8)\n"; 228 std::cerr << " --analog-channels [-C] val: Set the number of ADC/DAC channels (default: 8)\n";
229 std::cerr << " --digital-channels [-G] val: Set the number of GPIO channels (default: 16)\n"; 229 std::cerr << " --digital-channels [-B] val: Set the number of GPIO channels (default: 16)\n";
230 std::cerr << " --digital-channels [-G] val: Set the number of digital GPIO channels (default: 16)\n"; 230 std::cerr << " --receive-port [-R] val: Set the receive port (default: 9998)\n";
231 std::cerr << " --receive-port [-r] val: Set the receive port (default: 9998)\n"; 231 std::cerr << " --transmit-port [-T] val: Set the transmit port (default: 9999)\n";
232 std::cerr << " --transmit-port [-t] val: Set the transmit port (default: 9999)\n"; 232 std::cerr << " --server-name [-S] val: Set the destination server name (default: '127.0.0.1')\n";
233 std::cerr << " --server-name [-s] val: Set the destination server name (default: '127.0.0.1')\n";
234 std::cerr << " --pru-file val: Set an optional external file to use for the PRU binary code\n"; 233 std::cerr << " --pru-file val: Set an optional external file to use for the PRU binary code\n";
235 std::cerr << " --verbose [-v]: Enable verbose logging information\n"; 234 std::cerr << " --verbose [-v]: Enable verbose logging information\n";
236 } 235 }
237 236