Compare commits

..

No commits in common. "b0fecde6396a77d1e8efb663275cd10daa0bf4e9" and "971e2a61f6b6bc3a3558b13d8c67bd5aca018eba" have entirely different histories.

4 changed files with 2 additions and 105 deletions

View File

@ -2,7 +2,7 @@ use anyhow::{anyhow, Result};
use psimple::Simple; use psimple::Simple;
use pulse::context::{Context, FlagSet as ContextFlagSet}; use pulse::context::{Context, FlagSet as ContextFlagSet};
use pulse::mainloop::standard::{IterateResult, Mainloop}; use pulse::mainloop::standard::{IterateResult, Mainloop};
use pulse::sample::Spec; use pulse::sample::{Format, Spec};
use pulse::stream::Direction; use pulse::stream::Direction;
use std::cell::RefCell; use std::cell::RefCell;
use std::ops::Deref; use std::ops::Deref;

View File

@ -133,7 +133,7 @@ fn main() -> Result<()> {
y = (1f32 + y).log2(); y = (1f32 + y).log2();
let y = (y - min_y) / (max_y - min_y); let mut y = (y - min_y) / (max_y - min_y);
((1f32 - y) * texture_size as f32) as u32 ((1f32 - y) * texture_size as f32) as u32
}; };

View File

@ -1,3 +0,0 @@
venv
.vscode
.ipynb_checkpoints

File diff suppressed because one or more lines are too long