From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02240.html | 458 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 458 insertions(+) create mode 100644 docs/doxygen/nel/a02240.html (limited to 'docs/doxygen/nel/a02240.html') diff --git a/docs/doxygen/nel/a02240.html b/docs/doxygen/nel/a02240.html new file mode 100644 index 00000000..edff6024 --- /dev/null +++ b/docs/doxygen/nel/a02240.html @@ -0,0 +1,458 @@ + + +NeL: NLSOUND::CAudioMixerUser::TSampleBankHeader struct Reference + + + +
+

NLSOUND::CAudioMixerUser::TSampleBankHeader Struct Reference

#include <audio_mixer_user.h> +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  { sample_bank_header_version = 7 + }

Public Member Functions

void addSample (const std::string &name, uint32 frequency, uint32 nbSample, uint32 sizeMono16, uint32 sizeAdpcm)
void serial (NLMISC::IStream &s)
 TSampleBankHeader ()

Data Fields

std::vector< uint32Freq
std::vector< std::string > Name
std::vector< uint32NbSample
std::vector< uint32OffsetAdpcm
std::vector< uint32OffsetMono16
std::vector< uint32SizeAdpcm
std::vector< uint32SizeMono16
uint32 Version
+


Member Enumeration Documentation

+

+ + + + +
+ + +
anonymous enum +
+
+ + + + + +
+   + + +

+

Enumeration values:
+ + +
sample_bank_header_version  +
+
+ +

+Definition at line 493 of file audio_mixer_user.h. +

+

00494                 {
+00495                         // Mind to increment the version number each time the format change
+00496                         sample_bank_header_version = 7,
+00497                 };
+
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLSOUND::CAudioMixerUser::TSampleBankHeader::TSampleBankHeader  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 507 of file audio_mixer_user.h. +

+References sample_bank_header_version, and Version. +

+

00508                 {
+00509                         Version = sample_bank_header_version;
+00510                 }
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NLSOUND::CAudioMixerUser::TSampleBankHeader::addSample const std::string &  name,
uint32  frequency,
uint32  nbSample,
uint32  sizeMono16,
uint32  sizeAdpcm
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 512 of file audio_mixer_user.h. +

+References Freq, NbSample, OffsetAdpcm, OffsetMono16, SizeAdpcm, SizeMono16, and uint32. +

+Referenced by NLSOUND::CAudioMixerUser::buildSampleBankList(). +

+

00513                 {
+00514                         Name.push_back(name);
+00515                         Freq.push_back(frequency);
+00516                         NbSample.push_back(nbSample);
+00517                         uint32 off16;
+00518                         uint32 offAdpcm;
+00519                         off16 = std::accumulate(SizeMono16.begin(), SizeMono16.end(), 0);
+00520                         off16 = std::accumulate(SizeAdpcm.begin(), SizeAdpcm.end(), off16);
+00521                         OffsetMono16.push_back(off16);
+00522                         SizeMono16.push_back(sizeMono16);
+00523                         offAdpcm = std::accumulate(SizeMono16.begin(), SizeMono16.end(), 0);
+00524                         offAdpcm = std::accumulate(SizeAdpcm.begin(), SizeAdpcm.end(), offAdpcm);
+00525                         OffsetAdpcm.push_back(offAdpcm);
+00526                         SizeAdpcm.push_back(sizeAdpcm);
+00527                 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLSOUND::CAudioMixerUser::TSampleBankHeader::serial NLMISC::IStream s  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 529 of file audio_mixer_user.h. +

+References Freq, NbSample, OffsetAdpcm, OffsetMono16, s, SizeAdpcm, SizeMono16, and Version. +

+

00530                 {
+00531                         s.serialCheck(Version);
+00532                         s.serialCont(Name);
+00533                         s.serialCont(Freq);
+00534                         s.serialCont(NbSample);
+00535                         s.serialCont(OffsetMono16);
+00536                         s.serialCont(OffsetAdpcm);
+00537                         s.serialCont(SizeMono16);
+00538                         s.serialCont(SizeAdpcm);
+00539                 }
+
+


Field Documentation

+

+ + + + +
+ + +
std::vector<uint32> NLSOUND::CAudioMixerUser::TSampleBankHeader::Freq +
+
+ + + + + +
+   + + +

+ +

+Definition at line 501 of file audio_mixer_user.h. +

+Referenced by addSample(), NLSOUND::CSampleBank::load(), and serial().

+

+ + + + +
+ + +
std::vector<std::string> NLSOUND::CAudioMixerUser::TSampleBankHeader::Name +
+
+ + + + + +
+   + + +

+ +

+Definition at line 499 of file audio_mixer_user.h. +

+Referenced by NLSOUND::CAudioMixerUser::buildSampleBankList(), and NLSOUND::CSampleBank::load().

+

+ + + + +
+ + +
std::vector<uint32> NLSOUND::CAudioMixerUser::TSampleBankHeader::NbSample +
+
+ + + + + +
+   + + +

+ +

+Definition at line 500 of file audio_mixer_user.h. +

+Referenced by addSample(), and serial().

+

+ + + + +
+ + +
std::vector<uint32> NLSOUND::CAudioMixerUser::TSampleBankHeader::OffsetAdpcm +
+
+ + + + + +
+   + + +

+ +

+Definition at line 503 of file audio_mixer_user.h. +

+Referenced by addSample(), NLSOUND::CSampleBank::load(), and serial().

+

+ + + + +
+ + +
std::vector<uint32> NLSOUND::CAudioMixerUser::TSampleBankHeader::OffsetMono16 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 502 of file audio_mixer_user.h. +

+Referenced by addSample(), NLSOUND::CSampleBank::load(), and serial().

+

+ + + + +
+ + +
std::vector<uint32> NLSOUND::CAudioMixerUser::TSampleBankHeader::SizeAdpcm +
+
+ + + + + +
+   + + +

+ +

+Definition at line 505 of file audio_mixer_user.h. +

+Referenced by addSample(), NLSOUND::CSampleBank::load(), and serial().

+

+ + + + +
+ + +
std::vector<uint32> NLSOUND::CAudioMixerUser::TSampleBankHeader::SizeMono16 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 504 of file audio_mixer_user.h. +

+Referenced by addSample(), NLSOUND::CSampleBank::load(), and serial().

+

+ + + + +
+ + +
uint32 NLSOUND::CAudioMixerUser::TSampleBankHeader::Version +
+
+ + + + + +
+   + + +

+ +

+Definition at line 498 of file audio_mixer_user.h. +

+Referenced by serial(), and TSampleBankHeader().

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 14:30:35 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1