JunkBox_Win_Lib
1.5.3
Loading...
Searching...
No Matches
WinMediaBuffer.cpp
Go to the documentation of this file.
1
9
#include "
WinMediaBuffer.h
"
10
11
12
using namespace
jbxwl
;
13
14
15
CWinMediaBuffer::CWinMediaBuffer
(DWORD len)
16
{
17
m_pBuffer
= NULL;
18
init
(len);
19
}
20
21
22
23
void
CWinMediaBuffer::init
(DWORD len)
24
{
25
free
();
26
27
m_pBuffer
= new_Buffer(0);
28
if
(len>0) *
m_pBuffer
= make_Buffer(len);
29
}
30
31
32
33
void
CWinMediaBuffer::free
(
void
)
34
{
35
if
(
m_pBuffer
!=NULL) {
36
del_Buffer(&
m_pBuffer
);
37
}
38
m_pBuffer
= NULL;
39
}
40
41
WinMediaBuffer.h
メディアバッファ ヘッダ
jbxwl::CWinMediaBuffer::init
void init(DWORD len)
Definition
WinMediaBuffer.cpp:23
jbxwl::CWinMediaBuffer::CWinMediaBuffer
CWinMediaBuffer(DWORD len=0)
Definition
WinMediaBuffer.cpp:15
jbxwl::CWinMediaBuffer::m_pBuffer
Buffer * m_pBuffer
Definition
WinMediaBuffer.h:78
jbxwl::CWinMediaBuffer::free
void free(void)
Definition
WinMediaBuffer.cpp:33
jbxwl
Definition
ContrastDLG.h:23
WinBaseLib
WinMediaBuffer.cpp
Generated on Sat Oct 12 2024 19:43:15 for JunkBox_Win_Lib by
1.11.0