Permalink
Browse files

Fix compilation after [3b29507]. Lazy cut/paste got the better of me.

  • Loading branch information...
stuartm committed Jun 9, 2013
1 parent 3b29507 commit d1c879a88019f0a82bcb7a1a21746dd617350883
Showing with 4 additions and 4 deletions.
  1. +4 −4 mythtv/libs/libmythtv/recorders/audioinputoss.cpp
@@ -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
@@ -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)

0 comments on commit d1c879a

Please sign in to comment.