Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Plus de flexibilité sur Alsamixer #60

Closed
Cyxo opened this issue May 19, 2019 · 1 comment
Closed

Plus de flexibilité sur Alsamixer #60

Cyxo opened this issue May 19, 2019 · 1 comment
Labels
backend bug Something isn't working
Milestone

Comments

@Cyxo
Copy link

Cyxo commented May 19, 2019

Actuellement, vous utilisez alsaaudio.Mixer() pour controler le volume audio. Si vous ne mettez pas d'arguments, il cherchera par défaut la carte son 'Master'. Cependant, la carte son ne s'appelle pas toujours 'Master'. Notamment, quand pulseaudio est installé, la carte son principale est renommée en 'Speaker'.

Il faudrait donc utiliser alsaaudio.mixers() pour obtenir la liste des cartes sons, puis soit choisir la première, soit permettre aux gens de mettre le nom de leur carte son (en mettant 'Master' par défaut). Et après quand tu créé un Mixer alsaaudio, tu fais alsaaudio.Mixer(control=[nom du contrôle])

@matthias4217 matthias4217 added backend bug Something isn't working labels May 20, 2019
@matthias4217 matthias4217 added this to To do in MkIII-1.0 via automation May 20, 2019
@matthias4217 matthias4217 added this to the MkIII-v1.0 milestone May 20, 2019
@matthias4217
Copy link
Owner

Oui en effet, je vais corriger ça. Il y a déjà un champs pour y mettre la carte son dans config.py.

@matthias4217 matthias4217 moved this from To do to To Do MkIII-1.0 in MkIII-1.0 May 20, 2019
@matthias4217 matthias4217 moved this from To Do MkIII-1.0 to In progress in MkIII-1.0 May 21, 2019
MkIII-1.0 automation moved this from In progress to Done May 21, 2019
@matthias4217 matthias4217 added this to Done in Issue board Feb 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend bug Something isn't working
Projects
Issue board
Done Old
MkIII-1.0
  
Done
Development

No branches or pull requests

2 participants