Skip to content

Commit d9be8bd

Browse files
committed
Change license to MPL 2.0
The LGPL 3.0 is not a good fit because it prohibits static linking for non-(L)GPL software.
1 parent d99cb51 commit d9be8bd

File tree

9 files changed

+411
-162
lines changed

9 files changed

+411
-162
lines changed

COPYING

Lines changed: 367 additions & 159 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ might change at any time.
77

88
## License
99

10-
This library is released under the terms of the of the [GNU Lesser General
11-
Public License 3.0](https://www.gnu.org/licenses/lgpl-3.0.html) or any later
12-
version.
10+
This library is released under the terms of the of the [Mozilla Public License
11+
(MPL) Version 2.0](https://www.mozilla.org/MPL/).

src/bits.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// vinylla - (c) 2021 Jan Holthuis <[email protected]> et al.
2+
//
3+
// This Source Code Form is subject to the terms of the Mozilla Public
4+
// License, v. 2.0. If a copy of the MPL was not distributed with this
5+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
17
//! Low level bitwise operations
28
39
/// Return 2^size - 1 that can be used as a bitmask

src/bitstream.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// vinylla - (c) 2021 Jan Holthuis <[email protected]> et al.
2+
//
3+
// This Source Code Form is subject to the terms of the Mozilla Public
4+
// License, v. 2.0. If a copy of the MPL was not distributed with this
5+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
17
//! The [`Bitstream` struct](Bitstream) processes bits and maps them to positions.
28
39
use crate::{bits, lfsr::FibonacciLfsr};

src/format.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// vinylla - (c) 2021 Jan Holthuis <[email protected]> et al.
2+
//
3+
// This Source Code Form is subject to the terms of the Mozilla Public
4+
// License, v. 2.0. If a copy of the MPL was not distributed with this
5+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
17
#[derive(Debug, Clone, PartialEq)]
28
pub struct TimecodeFormat {
39
pub size: usize,

src/lfsr.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// vinylla - (c) 2021 Jan Holthuis <[email protected]> et al.
2+
//
3+
// This Source Code Form is subject to the terms of the Mozilla Public
4+
// License, v. 2.0. If a copy of the MPL was not distributed with this
5+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
17
//! Implementation of a Fibonacci Linear Feedback Shift Register (LFSR).
28
//!
39
//! An n-bit LFSR generates a bitstream from an n-bit state. For each cycle, the bits at certain

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// vinylla - (c) 2021 Jan Holthuis <[email protected]> et al.
2+
//
3+
// This Source Code Form is subject to the terms of the Mozilla Public
4+
// License, v. 2.0. If a copy of the MPL was not distributed with this
5+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
17
// FIXME: Enable missing_docs
28
//#![deny(missing_docs)]
39
#![deny(missing_debug_implementations)]

src/timecode.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// vinylla - (c) 2021 Jan Holthuis <[email protected]> et al.
2+
//
3+
// This Source Code Form is subject to the terms of the Mozilla Public
4+
// License, v. 2.0. If a copy of the MPL was not distributed with this
5+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
17
use crate::{
28
bitstream::Bitstream, format::TimecodeFormat, pitch::PitchDetector,
39
util::ExponentialWeightedMovingAverage,

src/util.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// vinylla - (c) 2021 Jan Holthuis <[email protected]> et al.
2+
//
3+
// This Source Code Form is subject to the terms of the Mozilla Public
4+
// License, v. 2.0. If a copy of the MPL was not distributed with this
5+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6+
17
//! Helper Utilities
28
39
/// Discrete-time implementation of a simple RC low-pass filter to calculate the exponential

0 commit comments

Comments
 (0)