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