force_a2dp 0.1.0

Tool to force A2DP sink on any Bluetooth device
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::env;

pub fn is_debug() -> bool {
    let args: Vec<String> = env::args().collect();
    for arg in args {
        if arg == "-d" || arg == "--debug" {
            return true;
        }
    }
    return false;
}