171c77851Sthreedeyes /* 26c874a26Sthreedeyes * Copyright 2012, Gerasim Troeglazov (3dEyes**), 3dEyes@gmail.com. 36c874a26Sthreedeyes * All rights reserved. 471c77851Sthreedeyes * Distributed under the terms of the MIT License. 571c77851Sthreedeyes */ 671c77851Sthreedeyes 771c77851Sthreedeyes #ifndef __EQUALIZER_ADDON_H__ 871c77851Sthreedeyes #define __EQUALIZER_ADDON_H__ 971c77851Sthreedeyes 1071c77851Sthreedeyes #include <MediaAddOn.h> 1171c77851Sthreedeyes 12*292cd8a9Sthreedeyes class EqualizerAddOn : public BMediaAddOn { 1371c77851Sthreedeyes public: 1471c77851Sthreedeyes virtual ~EqualizerAddOn(); 1571c77851Sthreedeyes explicit EqualizerAddOn(image_id image); 1671c77851Sthreedeyes virtual status_t InitCheck(const char** text); 1771c77851Sthreedeyes virtual int32 CountFlavors(); 1871c77851Sthreedeyes virtual status_t GetFlavorAt(int32 idx, const flavor_info** info); 1971c77851Sthreedeyes virtual BMediaNode* InstantiateNodeFor(const flavor_info* info, BMessage* config, 2071c77851Sthreedeyes status_t *err); 2171c77851Sthreedeyes virtual status_t GetConfigurationFor(BMediaNode* node, BMessage* message); 2271c77851Sthreedeyes virtual bool WantsAutoStart(); 2371c77851Sthreedeyes virtual status_t AutoStart(int count, BMediaNode** node, int32* id, bool* more); 2471c77851Sthreedeyes }; 2571c77851Sthreedeyes 2671c77851Sthreedeyes #endif //__EQUALIZER_ADDON_H__ 27