src/3rdparty/phonon/qt7/audionode.mm
changeset 30 5dc02b23752f
parent 0 1918ee327afb
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    75     // AudioComponentDescription everywhere, which is very similar to the
    75     // AudioComponentDescription everywhere, which is very similar to the
    76     // ComponentDescription, but a different size.  however,
    76     // ComponentDescription, but a different size.  however,
    77     // AudioComponentDescription only exists on 10.6+. More fun than we need to
    77     // AudioComponentDescription only exists on 10.6+. More fun than we need to
    78     // deal with at the moment, so we'll take the "deprecated" warning instead.
    78     // deal with at the moment, so we'll take the "deprecated" warning instead.
    79     err = AUGraphNewNode(m_audioGraph->audioGraphRef(), &description, 0, 0, &m_auNode);
    79     err = AUGraphNewNode(m_audioGraph->audioGraphRef(), &description, 0, 0, &m_auNode);
       
    80         
    80     BACKEND_ASSERT2(err != kAUGraphErr_OutputNodeErr, "A MediaObject can only be connected to one audio output device.", FATAL_ERROR)
    81     BACKEND_ASSERT2(err != kAUGraphErr_OutputNodeErr, "A MediaObject can only be connected to one audio output device.", FATAL_ERROR)
    81     BACKEND_ASSERT2(err == noErr, "Could not create new AUNode.", FATAL_ERROR)
    82     BACKEND_ASSERT2(err == noErr, "Could not create new AUNode.", FATAL_ERROR)
    82 }
    83 }
    83 
    84 
    84 AUNode AudioNode::getInputAUNode()
    85 AUNode AudioNode::getInputAUNode()