Skip to content

tts vol command does not work when using headphone jack (audio device 0) #35

Open
@SkyeOfBreeze

Description

@SkyeOfBreeze

Describe the bug
When controlling the audio via the headphone jack. Audio volume control does not appear to work. Running .tts vol 50 does not do anything. However, entering amixer cset numid=1 80% or 50% in the terminal will change the volume

To Reproduce
Steps to reproduce the behavior:

  1. Set the speaker_num in the controller.conf to 0,0.
  2. Plug in speakers to the headphone jack
  3. Run the .tts vol 50, then .tts vol 80. Notice no change

Expected behavior
Volume level is adjustable

Screenshots
n/a

Logs
n/a

Configurations

  • Raspberry Pi 3a+
# ALSA HW number for your playback device
# For Tellys this is 2.
# If you have trouble with the playback device changing hardware numbers,
# use the audio device name. Otherwise, leave it blank.
speaker_num=0,0
speaker_device=

Not quite sure how we should implement this in the code, as the alsa HW number is 0, but the command id is 1 for amixer cset numid=1 80%. Not sure how USB speakers handle this, or what they appear as.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions