Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftb0y committed Mar 16, 2021
2 parents 6ce25ab + bca86b1 commit 69c46a9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2462,7 +2462,7 @@ if(BROADCAST)
elseif(Shoutidjc_FOUND AND Shoutidjc_VERSION VERSION_LESS 2.4.6)
message(STATUS "Installed libshout version: ${Shout_VERSION} is suffering from bug lp1913579")
endif()
if(NOT Shsoutidjc_FOUND OR Shoutidjc_VERSION VERSION_LESS 2.4.6)
if(NOT Shoutidjc_FOUND OR Shoutidjc_VERSION VERSION_LESS 2.4.6)
# Fall back to internal libraray in the lib tree
message(STATUS "Using internal libshout-idjc")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/lib/libshout-idjc")
Expand Down
10 changes: 4 additions & 6 deletions lib/libshout-idjc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,10 @@ target_link_libraries(${PROJECT_NAME} PUBLIC Ogg::ogg)
find_package(Vorbis REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC Vorbis::vorbis Vorbis::vorbisenc)

# Optional system dependencies
find_package(OpenSSL)
if(TARGET OpenSSL::SSL)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAVE_OPENSSL)
target_link_libraries(${PROJECT_NAME} PRIVATE OpenSSL::SSL OpenSSL::Crypto)
endif()
# OpenSSL
find_package(OpenSSL REQUIRED)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAVE_OPENSSL)
target_link_libraries(${PROJECT_NAME} PRIVATE OpenSSL::SSL OpenSSL::Crypto)

option(SPEEX "Speex support" OFF)
if(SPEEX)
Expand Down
2 changes: 1 addition & 1 deletion src/library/browse/browsethread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void BrowseThread::populateModel() {
QString duration = pTrack->getDurationText(mixxx::Duration::Precision::SECONDS);
item = new QStandardItem(duration);
item->setToolTip(item->text());
item->setData(item->text(), Qt::UserRole);
item->setData(pTrack->getDuration(), Qt::UserRole);
row_data.insert(COLUMN_DURATION, item);

item = new QStandardItem(pTrack->getBpmText());
Expand Down
13 changes: 5 additions & 8 deletions src/soundio/soundmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,20 +623,17 @@ void SoundManager::readProcess() const {
}

void SoundManager::registerOutput(const AudioOutput& output, AudioSource* src) {
if (m_registeredSources.contains(output)) {
qDebug() << "WARNING: AudioOutput already registered!";
VERIFY_OR_DEBUG_ASSERT(!m_registeredSources.contains(output)) {
return;
}
m_registeredSources.insert(output, src);
emit outputRegistered(output, src);
}

void SoundManager::registerInput(const AudioInput& input, AudioDestination* dest) {
if (m_registeredDestinations.contains(input)) {
// note that this can be totally ok if we just want a certain
// AudioInput to be going to a different AudioDest -bkgood
qDebug() << "WARNING: AudioInput already registered!";
}

// Vinyl control inputs are registered twice, once for timecode and once for
// passthrough, each with different outputs. So unlike outputs, do not assert
// that the input has not been registered yet.
m_registeredDestinations.insert(input, dest);

emit inputRegistered(input, dest);
Expand Down
1 change: 1 addition & 0 deletions tools/debian_buildenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ case "$COMMAND" in
libsndfile1-dev \
libsoundtouch-dev \
libsqlite3-dev \
libssl-dev \
libtag1-dev \
libupower-glib-dev \
libusb-1.0-0-dev \
Expand Down

0 comments on commit 69c46a9

Please sign in to comment.