Skip to content

Commit

Permalink
remove useless verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Sep 21, 2024
1 parent 97d9f7a commit 765d8da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions inc/ALSACapture.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@

struct ALSACaptureParameters
{
ALSACaptureParameters(const char* devname, const std::list<snd_pcm_format_t> & formatList, unsigned int sampleRate, unsigned int channels, int verbose) :
m_devName(devname), m_formatList(formatList), m_sampleRate(sampleRate), m_channels(channels), m_verbose(verbose) {
ALSACaptureParameters(const char* devname, const std::list<snd_pcm_format_t> & formatList, unsigned int sampleRate, unsigned int channels) :
m_devName(devname), m_formatList(formatList), m_sampleRate(sampleRate), m_channels(channels) {

}

std::string m_devName;
std::list<snd_pcm_format_t> m_formatList;
unsigned int m_sampleRate;
unsigned int m_channels;
int m_verbose;
};

class ALSACapture : public DeviceInterface
Expand Down
2 changes: 1 addition & 1 deletion src/V4l2RTSPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ StreamReplicator* V4l2RTSPServer::CreateAudioReplicator(
// Init audio capture
LOG(NOTICE) << "Create ALSA Source..." << audioDevice;

ALSACaptureParameters param(audioDevice.c_str(), audioFmtList, audioFreq, audioNbChannels, verbose);
ALSACaptureParameters param(audioDevice.c_str(), audioFmtList, audioFreq, audioNbChannels);
ALSACapture* audioCapture = ALSACapture::createNew(param);
if (audioCapture)
{
Expand Down

0 comments on commit 765d8da

Please sign in to comment.