Permalink
Browse files

audio: ignore some mac errors

  • Loading branch information...
1 parent 4254516 commit 4df93b3adf29074898a6a6c343b72ff2ad92a08a @indutny committed Sep 21, 2012
Showing with 6 additions and 8 deletions.
  1. +6 −8 src/audio/platform/mac.cc
View
@@ -163,16 +163,14 @@ PlatformUnit::PlatformUnit(Kind kind, double rate) : rate_(rate) {
// Low latency = small buffer
if (kind == kInputUnit) {
uint32_t frame_size = input_rate_ / 100;
- CHECK(AudioUnitSetProperty(unit_,
- kAudioDevicePropertyBufferFrameSize,
- kAudioUnitScope_Output,
- kInputBus,
- &frame_size,
- sizeof(frame_size)),
- "Input: failed to set buffer frame size")
+ AudioUnitSetProperty(unit_,
+ kAudioDevicePropertyBufferFrameSize,
+ kAudioUnitScope_Output,
+ kInputBus,
+ &frame_size,
+ sizeof(frame_size));
}
-
// Initialize Unit
CHECK(AudioUnitInitialize(unit_), "Failed to initialize unit")

0 comments on commit 4df93b3

Please sign in to comment.