#include <llpreviewsound.h>
Inheritance diagram for LLPreviewSound:
Public Member Functions | |
LLPreviewSound (const std::string &name, const LLRect &rect, const std::string &title, const LLUUID &item_uuid, const LLUUID &object_uuid=LLUUID::null) | |
Static Public Member Functions | |
static void | playSound (void *userdata) |
static void | auditionSound (void *userdata) |
Definition at line 37 of file llpreviewsound.h.
LLPreviewSound::LLPreviewSound | ( | const std::string & | name, | |
const LLRect & | rect, | |||
const std::string & | title, | |||
const LLUUID & | item_uuid, | |||
const LLUUID & | object_uuid = LLUUID::null | |||
) |
Definition at line 51 of file llpreviewsound.cpp.
References auditionSound(), LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), LLPanel::childSetText(), gAudiop, LLInventoryItem::getAssetUUID(), LLUICtrlFactory::getButtonByName(), LLInventoryItem::getDescription(), LLFloater::getHost(), LLPreview::getItem(), LLView::getRect(), gUICtrlFactory, LLRectBase< Type >::mLeft, LLRectBase< Type >::mTop, LLPreview::onText(), playSound(), LLAudioEngine::preloadSound(), LLLineEditor::prevalidatePrintableNotPipe(), LLView::setSoundFlags(), LLFloater::setTitle(), LLView::SILENT, and LLView::translate().
Definition at line 101 of file llpreviewsound.cpp.
References gAgent, gAudiop, LLInventoryItem::getAssetUUID(), LLControlGroup::getF32(), LLAgent::getID(), LLAgent::getPositionGlobal(), gSavedSettings, SOUND_GAIN, and LLAudioEngine::triggerSound().
Referenced by LLPreviewSound().
Definition at line 89 of file llpreviewsound.cpp.
References gAudiop, LLInventoryItem::getAssetUUID(), send_sound_trigger(), and SOUND_GAIN.
Referenced by LLPreviewSound().