resid/
lib.rs

1// This file is part of resid-rs.
2// Copyright (c) 2017-2019 Sebastian Jastrzebski <sebby2k@gmail.com>. All rights reserved.
3// Portions (c) 2004 Dag Lem <resid@nimrod.no>
4// Licensed under the GPLv3. See LICENSE file in the project root for full license text.
5
6#![no_std]
7
8#[cfg(all(feature = "alloc", not(feature = "std")))]
9extern crate alloc;
10#[cfg(all(feature = "alloc", feature = "std"))]
11extern crate std as alloc;
12
13mod data;
14pub mod envelope;
15pub mod external_filter;
16pub mod filter;
17pub mod sampler;
18mod sid;
19pub mod spline;
20pub mod synth;
21pub mod voice;
22pub mod wave;
23
24#[cfg(not(feature = "std"))]
25mod math;
26
27#[derive(Clone, Copy)]
28pub enum ChipModel {
29    Mos6581,
30    Mos8580,
31}
32
33pub use self::sampler::SamplingMethod;
34pub use self::sid::Sid;