Bug 262229 - When mixer(8) is used to change the default, there follows information about the previous default (not the default)
Summary: When mixer(8) is used to change the default, there follows information about ...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-27 13:46 UTC by Graham Perrin
Modified: 2022-03-03 15:29 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2022-02-27 13:46:44 UTC
Changing from 3 to 1 presents information about 3, and so on: 


% mixer -d1
default_unit: 3 -> 1
pcm3:mixer: <USB audio> at ? kld snd_uaudio (play/rec)
    vol.volume      = 0.75:0.75  pbk
    pcm.volume      = 0.75:0.75  pbk
    mic.volume      = 0.53:0.53  rec src
% mixer -d3
default_unit: 1 -> 3
pcm1:mixer: <IDT 92HD81B1X (Analog 2.0+HP/2.0)> on hdaa1  (play/rec)
    vol.volume      = 0.95:0.95  pbk
    pcm.volume      = 1.00:1.00  pbk
    speaker.volume  = 1.00:1.00  pbk
    line.volume     = 0.01:0.01  rec
    mic.volume      = 0.67:0.67  rec src
    mix.volume      = 0.01:0.01  rec
    rec.volume      = 0.01:0.01  pbk
    ogain.volume    = 1.00:1.00  pbk
% mixer -d3
default_unit: 3 -> 3
pcm3:mixer: <USB audio> at ? kld snd_uaudio (play/rec) (default)
    vol.volume      = 0.75:0.75  pbk
    pcm.volume      = 0.75:0.75  pbk
    mic.volume      = 0.53:0.53  rec src
% date ; uname -aKU
Sun 27 Feb 2022 13:40:01 GMT
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #4 main-n253343-9835900cb95-dirty: Wed Feb 23 00:14:15 GMT 2022     root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400053 1400053
% 

----

Please, is this intended? 

I imagine that it will be more useful to see information about the current default (not the previous default).