Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix compilation after [3b29507]. Lazy cut/paste got the better of me.
  • Loading branch information
stuartm committed Jun 9, 2013
1 parent 3b29507 commit d1c879a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mythtv/libs/libmythtv/recorders/audioinputoss.cpp
Expand Up @@ -66,8 +66,8 @@ bool AudioInputOSS::Open(uint sample_bits, uint sample_rate, uint channels)
chk = 0; // disable input for now
if (ioctl(dsp_fd, SNDCTL_DSP_SETTRIGGER, &chk) < 0)
{
LOG(VB_GENERAL, LOG_WARNING, LOC_DEV +
QString("failed to disable audio device %1: ").arg(tag) + ENO);
LOG(VB_GENERAL, LOG_WARNING,
LOC_DEV + "failed to disable audio device" + ENO);
}

// Set format
Expand Down Expand Up @@ -171,8 +171,8 @@ bool AudioInputOSS::Start(void)
int trig = 0; // clear
if (ioctl(dsp_fd, SNDCTL_DSP_SETTRIGGER, &trig) < 0)
{
LOG(VB_GENERAL, LOG_WARNING, LOC_DEV +
QString("failed to disable audio device %1: ").arg(tag) + ENO);
LOG(VB_GENERAL, LOG_WARNING,
LOC_DEV + "failed to disable audio device" + ENO);
}
trig = PCM_ENABLE_INPUT; // enable input
if (ioctl(dsp_fd, SNDCTL_DSP_SETTRIGGER, &trig) < 0)
Expand Down

0 comments on commit d1c879a

Please sign in to comment.