Skip to content

Commit

Permalink
Refactor sample player (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney authored Jan 10, 2024
1 parent 12750ea commit e92f319
Show file tree
Hide file tree
Showing 9 changed files with 620 additions and 508 deletions.
2 changes: 2 additions & 0 deletions audio_engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ mod sample_pack;
pub use player::{PlayerHandle, SamplePlayer};
pub use sample::{SampleBuffer, TrackerSample};
pub use sample_pack::SamplePack;
pub use xmodits_lib::Sample as Metadata;
pub use xmodits_lib::Sample;

2 changes: 1 addition & 1 deletion src/screen/sample_player.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[cfg(feature = "audio")]
mod preview_manager;
#[cfg(feature = "audio")]
mod preview_window;
mod instance;

#[cfg(feature = "audio")]
pub use preview_manager::*;
Expand Down
Loading

0 comments on commit e92f319

Please sign in to comment.