Skip to content

Commit

Permalink
patch: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersama committed Sep 13, 2022
1 parent 74732e6 commit 5c44a0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)

project(obs-asio VERSION 3.1.0)
project(obs-asio VERSION 3.1.1)
add_library(obs-asio MODULE)

set(PLUGIN_AUTHOR "Andersama & pkv")
Expand Down
2 changes: 1 addition & 1 deletion buildspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@
}
},
"name": "obs-asio",
"version": "3.1.0"
"version": "3.1.1"
}
4 changes: 2 additions & 2 deletions src/asio-input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class AudioCB : public juce::AudioIODeviceCallback {
int ichs = info->buffer.getNumChannels();
int ochs = get_audio_channels(out.speakers);
uint8_t **data = (uint8_t **)(info->buffer.getArrayOfWritePointers());
uint8_t **sb_data = (uint8_t **)(sb.getArrayOfWritePointers());
uint8_t **sb_data = (uint8_t **)(sb.getArrayOfReadPointers());
uint8_t *silent_buffer_ptr = sb_data[0];

bool muted = true;
Expand Down Expand Up @@ -270,7 +270,7 @@ class AudioCB : public juce::AudioIODeviceCallback {

while (read_index != write_index) {
obs_source_audio out;
bool unmuted = set_data(&callback->buffers[read_index], callback->silent_buffer, out,
bool unmuted = set_data(&callback->buffers[read_index], callback->silent_ab, out,
_route_out, &sample_rate);
// if (unmuted && out.speakers)
obs_source_output_audio(source, &out);
Expand Down

0 comments on commit 5c44a0d

Please sign in to comment.