Skip to content

Commit

Permalink
[code] Remove useless logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jun 5, 2023
1 parent e50427d commit 35876f8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ossia/audio/sdl_protocol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class sdl_protocol final : public audio_engine
m_desired.userdata = this;

m_deviceId = SDL_OpenAudioDevice(nullptr, 0, &m_desired, &m_obtained, 0);
std::cerr << "SDL: " << m_deviceId << " :" << SDL_GetError() << std::endl;

if(m_deviceId < 2)
{
using namespace std::literals;
Expand All @@ -41,10 +41,6 @@ class sdl_protocol final : public audio_engine
this->effective_inputs = 0;
this->effective_outputs = m_obtained.channels;

std::cerr << "SDL: " << m_obtained.freq << " ; " << m_obtained.samples << " ; "
<< m_obtained.size << " ; " << SDL_AUDIO_ISFLOAT(m_obtained.format)
<< " ; " << SDL_AUDIO_BITSIZE(m_obtained.format) << " ; "
<< (int)m_obtained.channels << std::endl;
SDL_PauseAudioDevice(m_deviceId, 0);
}

Expand Down

0 comments on commit 35876f8

Please sign in to comment.