Skip to content

Commit

Permalink
Change order
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Feb 17, 2025
1 parent 2bf8504 commit cab5d57
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/audio/AudioPortAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,19 @@ AudioPortAudio::AudioPortAudio(bool& successful, AudioEngine* engine)
{
std::cerr << "Failed to support PortAudio format: " << Pa_GetErrorText(err) << '\n';

if (backendInfo != nullptr)
{
std::cerr << "Backend: " << backendInfo->name << '\n';
std::cerr << "Backend device count: " << backendInfo->deviceCount << '\n';
}

if (outputDeviceInfo != nullptr)
{
std::cerr << "Output device max channel count: " << outputDeviceInfo->maxOutputChannels << '\n';
std::cerr << "Output device default sample rate: " << outputDeviceInfo->defaultSampleRate << '\n';
std::cerr << "Output device name: " << outputDeviceInfo->name;
}

if (backendInfo != nullptr)
{
std::cerr << "Backend: " << backendInfo->name << '\n';
std::cerr << "Backend device count: " << backendInfo->deviceCount << '\n';
}

std::cerr << "Output sample rate: " << sampleRate() << '\n';
std::cerr << "Output device index: " << outputParameters.device << '\n';
std::cerr << "Output channel count: " << outputParameters.channelCount << '\n';
Expand Down

0 comments on commit cab5d57

Please sign in to comment.