Переглянути джерело

Cosmetic fixes to AudioSynthToneSweep.cpp and .h

dds
Pete (El Supremo) 10 роки тому
джерело
коміт
f4237e51ec
2 змінених файлів з 23 додано та 25 видалено
  1. +1
    -3
      synth_tonesweep.cpp
  2. +22
    -22
      synth_tonesweep.h

+ 1
- 3
synth_tonesweep.cpp Переглянути файл

@@ -24,11 +24,10 @@
#include "arm_math.h"


// TODO: this object should be renamed to AudioSynthToneSweep

/******************************************************************/

// A u d i o T o n e S w e e p
// A u d i o S y n t h T o n e S w e e p
// Written by Pete (El Supremo) Feb 2014


@@ -83,7 +82,6 @@ unsigned char AudioSynthToneSweep::busy(void)
return(sweep_busy);
}

static int b_count = 0; // TODO: what's this for?

void AudioSynthToneSweep::update(void)
{

+ 22
- 22
synth_tonesweep.h Переглянути файл

@@ -1,31 +1,31 @@
/* Audio Library for Teensy 3.X
* Copyright (c) 2014, Pete (El Supremo)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
* Copyright (c) 2014, Pete (El Supremo)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/

#ifndef synth_tonesweep_h_
#define synth_tonesweep_h_

#include "AudioStream.h"

// A u d i o T o n e S w e e p
// A u d i o S y n t h T o n e S w e e p
// Written by Pete (El Supremo) Feb 2014

class AudioSynthToneSweep : public AudioStream
@@ -50,4 +50,4 @@ private:
unsigned char sweep_busy;
};

#endif
#endif

Завантаження…
Відмінити
Зберегти