Skip to content

Commit 7402e92

Browse files
committed
feat: default audio quality to 256 kbps (highest)
1 parent f7ca062 commit 7402e92

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/build_number.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#pragma once
2-
#define JAMWIDE_BUILD_NUMBER 105
2+
#define JAMWIDE_BUILD_NUMBER 106

src/threading/run_thread.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ void run_thread_func(std::shared_ptr<JamWidePlugin> plugin) {
336336
std::lock_guard<std::mutex> state_lock(plugin->state_mutex);
337337
const char* ch_name = plugin->ui_state.local_name_input[0] ?
338338
plugin->ui_state.local_name_input : "Channel";
339-
// Set default channel: stereo input (ch 0), 128kbps, transmit enabled
340-
client->SetLocalChannelInfo(0, ch_name, true, 0|(1<<10), true, 128, true, true);
339+
// Set default channel: stereo input (ch 0), 256kbps, transmit enabled
340+
client->SetLocalChannelInfo(0, ch_name, true, 0|(1<<10), true, 256, true, true);
341341
NLOG("[RunThread] Local channel 0 configured: name='%s'\n", ch_name);
342342
}
343343
}

src/ui/ui_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct UiState {
6464

6565
// Local channel
6666
char local_name_input[64] = "Channel";
67-
int local_bitrate_index = 1; // 64 kbps
67+
int local_bitrate_index = 5; // 256 kbps (highest)
6868
bool local_transmit = true;
6969
float local_volume = 1.0f;
7070
float local_pan = 0.0f;

0 commit comments

Comments
 (0)