diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7ff2f083d..6ef96d26e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,24 +1,49 @@ +0.24.0 + +musikcube: + +* added the ability for the user to select the output device (i.e. soundcard + or port) audio will be rendered to. previously we always used the system's + default device. +* fixed some transcoder and cdda bugs that prevented streaming cd audio to + remote (e.g. android) clients. +* fixed a (potential) memory leak in the indexer when extracting album artwork +* matthiaskrgr pointed out some memory leaks, and KTRosenberg fixed them. + +musikdroid: + +* fixed (potential) crash when trying to display the update check dialog. + +low-level: + +* fixed a bug in CddaDataStream where the active reader would not have exclusive + access to the output device. +* added new SDK interfaces for enumerating audio devices that are available to + output drivers. + +-------------------------------------------------------------------------------- + 0.23.0 musikcube: * fixed album artist support for FLAC, OGG, and M4A files. users with existing -libraries that are having problems should re-import their files. + libraries that are having problems should re-import their files. * fixed CDDB lookup for mixed-mode discs in Windows * fixed a bug in the low-level audio processing that could leak memory until -the playing track completed + the playing track completed * allow M-ENTER to also activate the context menu for album header rows. (ENTER still works as well) * fixed the NullOut plugin -- it was not taking channel count into account when -calculating buffer duration + calculating buffer duration * added support for Manjaro Linux musikdroid: * fixed a crash in SystemService::onStartCommand where the Intent's "action" -was not being null-checked. + was not being null-checked. * suppressed a strange crash related to the Room library not initializing the -database properly + database properly -------------------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index c755cafa5..af3779768 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.0) project(musikcube) set (musikcube_VERSION_MAJOR 0) -set (musikcube_VERSION_MINOR 23) +set (musikcube_VERSION_MINOR 24) set (musikcube_VERSION_PATCH 0) set (musikcube_VERSION "${musikcube_VERSION_MAJOR}.${musikcube_VERSION_MINOR}.${musikcube_VERSION_PATCH}") diff --git a/src/musikcube/app/util/Version.h b/src/musikcube/app/util/Version.h index da6fccb5f..f0d64738a 100644 --- a/src/musikcube/app/util/Version.h +++ b/src/musikcube/app/util/Version.h @@ -1,6 +1,6 @@ #pragma once #define VERSION_MAJOR 0 -#define VERSION_MINOR 23 +#define VERSION_MINOR 24 #define VERSION_PATCH 0 -#define VERSION "0.23.0" +#define VERSION "0.24.0" diff --git a/src/musikcube/musikcube.rc b/src/musikcube/musikcube.rc index f30d1ef27..10c2760d3 100644 Binary files a/src/musikcube/musikcube.rc and b/src/musikcube/musikcube.rc differ diff --git a/src/plugins/wasapiout/WasapiOut.cpp b/src/plugins/wasapiout/WasapiOut.cpp index 04b201f3a..39a801bc6 100644 --- a/src/plugins/wasapiout/WasapiOut.cpp +++ b/src/plugins/wasapiout/WasapiOut.cpp @@ -79,17 +79,9 @@ class WasapiDevice : public musik::core::sdk::IDevice { this->name = name; } - virtual void Destroy() override { - delete this; - } - - virtual const char* Name() const override { - return name.c_str(); - } - - virtual const char* Id() const override { - return id.c_str(); - } + virtual void Destroy() override { delete this; } + virtual const char* Name() const override { return name.c_str(); } + virtual const char* Id() const override { return id.c_str(); } private: std::string name, id; @@ -97,17 +89,9 @@ class WasapiDevice : public musik::core::sdk::IDevice { class WasapiDeviceList : public musik::core::sdk::IDeviceList { public: - virtual void Destroy() { - delete this; - } - - virtual size_t Count() const override { - return devices.size(); - } - - virtual const IDevice* At(size_t index) const override { - return &devices.at(index); - } + virtual void Destroy() override { delete this; } + virtual size_t Count() const override { return devices.size(); } + virtual const IDevice* At(size_t index) const override { return &devices.at(index); } void Add(const std::string& id, const std::string& name) { devices.push_back(WasapiDevice(id, name)); @@ -400,7 +384,6 @@ void WasapiOut::Reset() { this->audioClient = nullptr; this->device = nullptr; - ZeroMemory(&waveFormat, sizeof(WAVEFORMATEXTENSIBLE)); } diff --git a/src/plugins/waveout/WaveOut.cpp b/src/plugins/waveout/WaveOut.cpp index 1a544b83e..9a32a55bd 100644 --- a/src/plugins/waveout/WaveOut.cpp +++ b/src/plugins/waveout/WaveOut.cpp @@ -54,17 +54,9 @@ class WaveOutDevice : public musik::core::sdk::IDevice { this->name = name; } - virtual void Destroy() override { - delete this; - } - - virtual const char* Name() const override { - return name.c_str(); - } - - virtual const char* Id() const override { - return id.c_str(); - } + virtual void Destroy() override { delete this; } + virtual const char* Name() const override { return name.c_str(); } + virtual const char* Id() const override { return id.c_str(); } private: std::string name, id; @@ -72,17 +64,9 @@ class WaveOutDevice : public musik::core::sdk::IDevice { class WaveOutDeviceList : public musik::core::sdk::IDeviceList { public: - virtual void Destroy() override { - delete this; - } - - virtual size_t Count() const override { - return devices.size(); - } - - virtual const IDevice* At(size_t index) const override { - return &devices.at(index); - } + virtual void Destroy() override { delete this; } + virtual size_t Count() const override { return devices.size(); } + virtual const IDevice* At(size_t index) const override { return &devices.at(index); } void Add(const std::string& id, const std::string& name) { devices.push_back(WaveOutDevice(id, name));