comparison core/RTAudioCommandLine.cpp @ 178:a156a694864d

-p flag now indicates the buffer size in audio samples. Closes #1520
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 02 Jan 2016 13:08:39 +0100
parents e63563507edd
children 1fd334f64f0a
comparison
equal deleted inserted replaced
177:3b364fb8c4ee 178:a156a694864d
46 46
47 // This function sets the default settings for the BeagleRTInitSettings structure 47 // This function sets the default settings for the BeagleRTInitSettings structure
48 void BeagleRT_defaultSettings(BeagleRTInitSettings *settings) 48 void BeagleRT_defaultSettings(BeagleRTInitSettings *settings)
49 { 49 {
50 // Set default values for settings 50 // Set default values for settings
51 settings->periodSize = 8; 51 settings->periodSize = 16;
52 settings->useAnalog = 1; 52 settings->useAnalog = 1;
53 settings->useDigital = 1; 53 settings->useDigital = 1;
54 settings->numAnalogChannels = 8; 54 settings->numAnalogChannels = 8;
55 settings->numDigitalChannels = 16; 55 settings->numDigitalChannels = 16;
56 56