Bug 62077 - [sound] [patch] Make it possible to abbreviate mixer(8) device names
Summary: [sound] [patch] Make it possible to abbreviate mixer(8) device names
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.2-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2004-01-29 19:40 UTC by Ronald Klop
Modified: 2024-01-30 13:35 UTC (History)
3 users (show)

See Also:


Attachments
mixer.diff (879 bytes, patch)
2004-01-29 19:40 UTC, Ronald Klop
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop 2004-01-29 19:40:16 UTC
	This patch makes it possible to abbreviate device names when changing
	mixer settings.
	So I can issue 'mixer sp 0' in stead of 'mixer speaker 0'.
	It only accepts non-ambigious abbreviations.
	I also updated the man page for this.
Comment 1 Ronald Klop 2004-01-29 23:28:17 UTC
I just noticed that the strlen can be moved out of the loop and calculated 
once. This wil save some cpu cycles. ;-)

Ronald.

-- 
  Ronald Klop
  Vrije Universiteit, Amsterdam, The Netherlands
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:28 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:39:33 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Comment 4 Christos Margiolis freebsd_committer freebsd_triage 2024-01-30 13:35:36 UTC
mixer(8) has been rewritten as of 14.0 and this patch does not make much sense with the current implementation. Closing.