Fixing builds and workflows
This commit is contained in:
@@ -16,6 +16,12 @@ pub struct ScopeBuffer {
|
||||
peak_right: AtomicU32,
|
||||
}
|
||||
|
||||
impl Default for ScopeBuffer {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl ScopeBuffer {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
@@ -64,6 +70,12 @@ pub struct SpectrumBuffer {
|
||||
pub bands: [AtomicU32; 32],
|
||||
}
|
||||
|
||||
impl Default for SpectrumBuffer {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl SpectrumBuffer {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
|
||||
@@ -2,9 +2,9 @@ mod audio;
|
||||
mod link;
|
||||
pub mod sequencer;
|
||||
|
||||
pub use audio::{build_stream, AnalysisHandle, AudioStreamConfig, ScopeBuffer, SpectrumBuffer};
|
||||
pub use audio::{build_stream, AudioStreamConfig, ScopeBuffer, SpectrumBuffer};
|
||||
pub use link::LinkState;
|
||||
pub use sequencer::{
|
||||
spawn_sequencer, AudioCommand, PatternChange, PatternSnapshot, SeqCommand, SequencerConfig,
|
||||
SequencerHandle, SequencerSnapshot, StepSnapshot,
|
||||
SequencerSnapshot, StepSnapshot,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user