Skip to content

Commit

Permalink
README.md should hopefully look better when viewed on github.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stevens committed Apr 24, 2012
1 parent f36f5da commit 2025d7f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ AudioEndPointController

A Windows command-line program for listing audio end-points and setting the default

> EndPointController.exe --help
Lists active audio end-point devices or sets default audio end-point device.
> EndPointController.exe --help
Lists active audio end-point devices or sets default audio end-point device.

USAGE
EndPointController.exe [-a] [-f format_str] Lists audio end-point devices that
are enabled.
EndPointController.exe device_index Sets the default device with the
given index.
USAGE
EndPointController.exe [-a] [-f format_str] Lists audio end-point devices that
are enabled.
EndPointController.exe device_index Sets the default device with the
given index.

OPTIONS
-a Display all devices, rather than just active devices.
-f format_str Outputs the details of each device using the given format
string. If this parameter is ommitted the format string
defaults to: "Audio Device %d: %ws"
OPTIONS
-a Display all devices, rather than just active devices.
-f format_str Outputs the details of each device using the given format
string. If this parameter is ommitted the format string
defaults to: "Audio Device %d: %ws"

Parameters that are passed to the 'printf' function are
ordered as follows:
- Device index (int)
- Device friendly name (string)
Parameters that are passed to the 'printf' function are
ordered as follows:
- Device index (int)
- Device friendly name (string)

3 comments on commit 2025d7f

@fehC
Copy link

@fehC fehC commented on 2025d7f Apr 25, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two important options are missing..
-Get currently active device number/name.
-Info output file.

@DanStevens
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 1.3.0 allows you to see if a device is the default by using the appropriate format string. For example:

EndPointController.exe -f "%d: %ws (Default: %.0s%d)"

As for outputting to a file, I suggest redirecting the output to a file:

EndPointController.exe > AudioDevices.txt

@fehC
Copy link

@fehC fehC commented on 2025d7f May 10, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That didn't work at all, nothing gets printed out to a text file.
Even if it worked, why does it look so complicated? The first line I mean.
It should be easy to use, where a command to get active device should be something like:
EndPointController.exe -Active
:D

Windows 7 32

Please sign in to comment.