Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
RinoReyns committed Mar 30, 2024
1 parent e14f0cd commit 9cd6a6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ unsigned int getDeviceIndex(std::vector<std::string> deviceNames, bool isInput =
std::cout << '\n';
for (i = 0; i < deviceNames.size(); i++)
std::cout << " Device #" << i << ": " << deviceNames[i] << '\n';

do {
if (isInput)
std::cout << "\nChoose an input device #: ";
Expand Down Expand Up @@ -86,7 +87,6 @@ int inout(void* outputBuffer, void* inputBuffer, unsigned int /*nBufferFrames*/,

int AudioEndpointManager::RunAudioEndpointHandler()
{

RtAudio adac;
std::vector<unsigned int> deviceIds = adac.getDeviceIds();
if (deviceIds.size() < 1) {
Expand Down
8 changes: 4 additions & 4 deletions VstHost_VisualC++/modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ elseif (UNIX AND !${ANDROID_BUILD})
elseif(LINUX)
find_program(GCOV_PATH gcov)
if(NOT GCOV_PATH)
message(${GCOV_PATH})
message("[WARNING] Code coverage analysis requires gcov!")
message(${GCOV_PATH})
message("[WARNING] Code coverage analysis requires gcov!")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage -O0")
message("[MESSAGE] Code coverage analysis found gcov!")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage -O0")
message("[MESSAGE] Code coverage analysis found gcov!")
endif()
endif()

Expand Down

0 comments on commit 9cd6a6a

Please sign in to comment.