summaryrefslogtreecommitdiff
path: root/client/src/audio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/audio.rs')
-rw-r--r--client/src/audio.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/client/src/audio.rs b/client/src/audio.rs
index dca9cb4..ff9dc1a 100644
--- a/client/src/audio.rs
+++ b/client/src/audio.rs
@@ -14,13 +14,6 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-use std::{
- collections::{HashMap, VecDeque},
- env::var,
- sync::mpsc::{Receiver, SyncSender, sync_channel},
- time::Instant,
-};
-
use anyhow::{Result, anyhow};
use audiopus::{
Application, Channels, SampleRate,
@@ -33,6 +26,12 @@ use cpal::{
use glam::Vec3;
use log::{debug, info, warn};
use nnnoiseless::{DenoiseState, RnnModel};
+use std::{
+ collections::{HashMap, VecDeque},
+ env::var,
+ sync::mpsc::{Receiver, SyncSender, sync_channel},
+ time::Instant,
+};
pub struct Audio {
_instream: Option<Stream>,