feat(voice): harden Android audio and channel joins
This commit is contained in:
@@ -80,9 +80,7 @@ fn bench_capture_alloc_count(c: &mut Criterion) {
|
||||
// here and the emitter reads it directly.
|
||||
if let Ok(dir) = std::env::var("CARGO_TARGET_DIR")
|
||||
.map(std::path::PathBuf::from)
|
||||
.or_else(|_| {
|
||||
std::env::current_dir().map(|d| d.join("target"))
|
||||
})
|
||||
.or_else(|_| std::env::current_dir().map(|d| d.join("target")))
|
||||
{
|
||||
let path = dir.join("criterion").join("capture_alloc_count.sidecar");
|
||||
if let Some(parent) = path.parent() {
|
||||
|
||||
Reference in New Issue
Block a user