summaryrefslogtreecommitdiff
path: root/indra/llaudio/llaudiodecodemgr.h
blob: a72d63a228f431927843490008ab57890c2bb02e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/** 
 * @file llaudiodecodemgr.h
 *
 * Copyright (c) 2003-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLAUDIODECODEMGR_H
#define LL_LLAUDIODECODEMG_H

#include "stdtypes.h"

#include "lllinkedqueue.h"
#include "lluuid.h"

#include "llassettype.h"
#include "llframetimer.h"

class LLVFS;
class LLVorbisDecodeState;

class LLAudioDecodeMgr
{
public:
	LLAudioDecodeMgr();
	~LLAudioDecodeMgr();

	void processQueue(const F32 num_secs = 0.005);
	BOOL addDecodeRequest(const LLUUID &uuid);
	void addAudioRequest(const LLUUID &uuid);
	
protected:
	class Impl;
	Impl* mImpl;
};

extern LLAudioDecodeMgr *gAudioDecodeMgrp;

#endif