Opened 14 years ago

Closed 14 years ago

#19 closed enhancement (fixed)

Volume commands should use an identifiable scale (% or dB)

Reported by: quentin Owned by: broglek
Priority: minor Component: remctl
Keywords: Cc:

Description

The scale of volume levels is currently sound-card dependent. ALSA supports both percentage and dB scales; we should use one of them instead.

Change History (6)

comment:1 Changed 14 years ago by mats_a

running mplayer -slave and then sending "volume PERCENTAGE 1" will set the volume during playback

comment:2 Changed 14 years ago by mats_a

(clarification: "volume PERCENTAGE 1\n" via STDIN)

comment:3 Changed 14 years ago by broglek

  • Resolution set to fixed
  • Status changed from new to closed

The remctl scripts use amixer, which supports this, so it already works.

za@za-laptop:~$ remctl zsr volume set 50%
16
za@za-laptop:~$ remctl zsr volume set 0dB
23

comment:4 Changed 14 years ago by broglek

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 14 years ago by broglek

  • Owner set to broglek
  • Status changed from reopened to assigned

Also, commit [04a6a6614c90df2a961afe8fcdbd565d918632d6] adds % and dB output to the remctl scripts.

comment:6 Changed 14 years ago by broglek

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.