1 /* 2 Copyright (C) 2016 Apple Inc. All Rights Reserved. 3 See LICENSE.txt for this sample’s licensing information 4 5 Abstract: 6 Part of Core Audio AUBase Classes 7 */ 8 9 #ifndef __AUOutput_h__ 10 #define __AUOutput_h__ 11 12 #include "AUScopeElement.h" 13 #include "AUBuffer.h" 14 15 /*! @class AUOutputElement */ 16 class AUOutputElement : public AUIOElement { 17 public: 18 /*! @ctor AUOutputElement */ 19 AUOutputElement(AUBase *audioUnit); 20 21 // AUElement override 22 /*! @method SetStreamFormat */ 23 virtual OSStatus SetStreamFormat(const CAStreamBasicDescription &desc); 24 /*! @method NeedsBufferSpace */ NeedsBufferSpace()25 virtual bool NeedsBufferSpace() const { return true; } 26 }; 27 28 #endif // __AUOutput_h__ 29