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: Open
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)
Depends on:
Reported: 2004-01-29 19:40 UTC by Ronald Klop
Modified: 2020-05-07 18:01 UTC (History)
2 users (show)

See Also:

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 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