File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ class SoundGenerator {
35
35
LOGD (LOG_METHOD);
36
36
active = true ;
37
37
activeWarningIssued = false ;
38
- // info.bits_per_sample = sizeof(T)*8;
38
+ LOGI (" bits_per_sample: %d" , info.bits_per_sample );
39
+ LOGI (" channels: %d" , info.channels );
40
+ LOGI (" sample_rate: %d" , info.sample_rate );
39
41
return true ;
40
42
}
41
43
@@ -478,7 +480,7 @@ class GeneratorFromArray : public SoundGenerator<T> {
478
480
};
479
481
480
482
/* *
481
- * @brief A sine generator based on a table. The table is created based using degress where one full wave is 360 degrees
483
+ * @brief A sine generator based on a table. The table is created based using degress where one full wave is 360 degrees.
482
484
* @author Phil Schatzmann
483
485
* @copyright GPLv3
484
486
*/
You can’t perform that action at this time.
0 commit comments