1 /* Copyright 2000-2008, Ingo Weinhold <ingo_weinhold@gmx.de>, 2 * All Rights Reserved. Distributed under the terms of the MIT license. 3 */ 4 5 6 #include "AudioSupplier.h" 7 8 #include "AudioProducer.h" 9 10 AudioSupplier()11AudioSupplier::AudioSupplier() 12 { 13 } 14 15 ~AudioSupplier()16AudioSupplier::~AudioSupplier() 17 { 18 } 19 20 21 void SetAudioProducer(AudioProducer * producer)22AudioSupplier::SetAudioProducer(AudioProducer* producer) 23 { 24 fAudioProducer = producer; 25 } 26 27 28 status_t InitCheck() const29AudioSupplier::InitCheck() const 30 { 31 return fAudioProducer ? B_OK : B_NO_INIT; 32 } 33 34