Skip to content

Commit

Permalink
v1.2.3-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
phandasm committed Apr 3, 2022
1 parent f56e02e commit e15483c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion installer/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Waveform"
#define MyAppVersion "1.2.2"
#define MyAppVersion "1.2.3-beta1"
#define MyAppURL "https://github.com/phandasm/waveform"

[Setup]
Expand Down
2 changes: 1 addition & 1 deletion src/module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

#define MODULE_DISPLAY_NAME "Waveform Visualizer"
#define MODULE_NAME "phandasm_waveform"
#define VERSION_STRING "1.2.2"
#define VERSION_STRING "1.2.3-beta1"
14 changes: 13 additions & 1 deletion src/source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,19 @@ void WAVSource::update(obs_data_t *settings)
update_audio_info(&m_audio_info);
m_capture_channels = std::min(get_audio_channels(m_audio_info.speakers), 2u);
if(m_capture_channels == 0)
blog(LOG_WARNING, "[" MODULE_NAME "]: Could not determine audio channel count");
{
auto channels = (unsigned int)m_audio_info.speakers;
if(channels > 0)
{
m_capture_channels = std::min((uint32_t)channels, 2u);
auto msg = "[" MODULE_NAME "]: Attempting to support unknown channel config: " + std::to_string(channels);
blog(LOG_WARNING, msg.c_str());
}
else
{
blog(LOG_WARNING, "[" MODULE_NAME "]: Could not determine audio channel count");
}
}

// meter mode
if(m_meter_mode)
Expand Down

0 comments on commit e15483c

Please sign in to comment.