1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-09-19 21:54:07 +02:00

fix: wrong module path on pulse source in main.rs

This fixes a compile error when building with the `pulseaudio` feature
enabled.
This commit is contained in:
Nettifani 2024-05-04 21:24:23 +03:00
parent b963aba7f9
commit dbdbf15d99
No known key found for this signature in database
GPG key ID: BF6453B44E9D89D4

View file

@ -14,7 +14,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let source = match args.source {
#[cfg(feature = "pulseaudio")]
ScopeSource::Pulse { device, server_buffer } => {
input::pulse::PulseAudioSimpleDataSource::new(device.as_deref(), &args.opts, server_buffer)?
scope::input::pulse::PulseAudioSimpleDataSource::new(device.as_deref(), &args.opts, server_buffer)?
},
#[cfg(feature = "file")]