Remove the config iterator types from `DeviceTrait`
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- audio-video-rtc
Línea de trabajo
Start with the DeviceTrait definitions in src/traits.rs at the linked lines, then inspect the host implementations of supported_input_configs() and supported_output_configs() to confirm their iterator return types. Change the API to return vectors and check affected custom host implementations or tests. Done means the trait and implementations agree and the project builds successfully.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I suggest removing these in favor of just returning a Vec<T> from supported_in/output_configs(), since they are cumbersome to work with, and config enumeration is a fairly cold path. But more importantly:
Every single host already uses std::vec::Iter<T> here anyway 😅
This may break custom hosts, but the fix is as simple as calling .collect()
- Lenguaje dominante
- Rust
- Estrellas
- 4k
- Forks
- 554
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de RustAudio/cpal
-
API design
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
correctness
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
aaudio: dynamic buffer tuning never grows the buffer (set_buffer_size_in_frames reports Err on success)Posiblemente ocupada @dannyward630 la tomó hace 39 días. Abiertohost - aaudio platform - android
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
WebAudio wasm build fails with wasm-bindgen panic=unwind closuresPosiblemente ocupada @bogusyogi la tomó hace 48 días. Abiertohost - webaudio platform - web
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
PipeWire: dropping callback captures on the realtime worker can terminate the process with SIGXCPUAbiertohost - pipewire platform - linux
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Todos los issues de RustAudio/cpal
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
ci: migrate pinned macos-15 runners to macos-26 and macos-26-intelPosiblemente ocupada @hawkingrei la tomó hoy. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
nowledge-co/hawdb#2224 ·
Los mantenedores suelen responder en 1 día
-
Effective coverage reads function totals as line totals when the LLVM report has no branchesAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
eclipse-score/coverage_tool#95 ·
Los mantenedores suelen responder en 2 días
-
bug nvim
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100