Skip to content

Commit

Permalink
Added more DSCP values for Audio Source and PTP in WebUI. See #40.
Browse files Browse the repository at this point in the history
  • Loading branch information
bondagit committed Nov 9, 2021
1 parent adc17b8 commit 7ed2ad4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion daemon/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace po = boost::program_options;
namespace postyle = boost::program_options::command_line_style;
namespace logging = boost::log;

static std::string version("bondagit-1.3.1");
static std::string version("bondagit-1.3");
static std::atomic<bool> terminate = false;

void termination_handler(int signum) {
Expand Down
8 changes: 6 additions & 2 deletions webui/src/PTP.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@ class PTPConfig extends Component {
<th align="left"> <label>DSCP</label> </th>
<th align="left">
<select value={this.state.dscp} onChange={e => this.setState({dscp: e.target.value})}>
<option value='46'>46 (EF)</option>
<option value='48'>48 (CS6)</option>
<option value="56">56 (CS7)</option>
<option value="48">48 (CS6)</option>
<option value="46">46 (EF)</option>
<option value="36">36 (AF42)</option>
<option value="34">34 (AF41)</option>
<option value="0">0 (BE)</option>
</select>
</th>
</tr>
Expand Down
6 changes: 4 additions & 2 deletions webui/src/SourceEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,12 @@ class SourceEdit extends Component {
<th align="left"> <label>DSCP</label> </th>
<th align="left">
<select value={this.state.dscp} onChange={e => this.setState({dscp: e.target.value})}>
<option value="56">56 (CS7)</option>
<option value="48">48 (CS6)</option>
<option value="46">46 (EF)</option>
<option value="36">36 (AF42)</option>
<option value="34">34 (AF41)</option>
<option value="36">26 (AF31)</option>
<option value="48">0 (BE)</option>
<option value="0">0 (BE)</option>
</select>
</th>
</tr>
Expand Down

0 comments on commit 7ed2ad4

Please sign in to comment.