YARP
Yet Another Robot Platform
PcmWavHeader Class Reference

Public Member Functions

void setup_to_write (const Sound &sound, FILE *fp)
 
bool parse_from_file (FILE *fp)
 

Public Attributes

NetInt32 wavHeader
 
NetInt32 wavLength
 
NetInt32 formatHeader1
 
NetInt32 formatHeader2
 
NetInt32 formatLength
 
struct {
   NetInt16   pcmFormatTag
 
   NetInt16   pcmChannels
 
   NetInt32   pcmSamplesPerSecond
 
   NetInt32   pcmBytesPerSecond
 
   NetInt16   pcmBlockAlign
 
   NetInt16   pcmBitsPerSample
 
pcm
 
ManagedBytes pcmExtraData
 
NetInt32 dummyHeader
 
NetInt32 dummyLength
 
ManagedBytes dummyData
 
NetInt32 dataHeader
 
NetInt32 dataLength
 

Detailed Description

Definition at line 29 of file SoundFile.cpp.

Member Function Documentation

◆ parse_from_file()

bool PcmWavHeader::parse_from_file ( FILE *  fp)

Definition at line 59 of file SoundFile.cpp.

◆ setup_to_write()

void PcmWavHeader::setup_to_write ( const Sound sound,
FILE *  fp 
)

Definition at line 186 of file SoundFile.cpp.

Member Data Documentation

◆ dataHeader

NetInt32 PcmWavHeader::dataHeader

Definition at line 51 of file SoundFile.cpp.

◆ dataLength

NetInt32 PcmWavHeader::dataLength

Definition at line 52 of file SoundFile.cpp.

◆ dummyData

ManagedBytes PcmWavHeader::dummyData

Definition at line 49 of file SoundFile.cpp.

◆ dummyHeader

NetInt32 PcmWavHeader::dummyHeader

Definition at line 47 of file SoundFile.cpp.

◆ dummyLength

NetInt32 PcmWavHeader::dummyLength

Definition at line 48 of file SoundFile.cpp.

◆ formatHeader1

NetInt32 PcmWavHeader::formatHeader1

Definition at line 33 of file SoundFile.cpp.

◆ formatHeader2

NetInt32 PcmWavHeader::formatHeader2

Definition at line 34 of file SoundFile.cpp.

◆ formatLength

NetInt32 PcmWavHeader::formatLength

Definition at line 35 of file SoundFile.cpp.

◆ pcm

struct { ... } PcmWavHeader::pcm

◆ pcmBitsPerSample

NetInt16 PcmWavHeader::pcmBitsPerSample

Definition at line 43 of file SoundFile.cpp.

◆ pcmBlockAlign

NetInt16 PcmWavHeader::pcmBlockAlign

Definition at line 42 of file SoundFile.cpp.

◆ pcmBytesPerSecond

NetInt32 PcmWavHeader::pcmBytesPerSecond

Definition at line 41 of file SoundFile.cpp.

◆ pcmChannels

NetInt16 PcmWavHeader::pcmChannels

Definition at line 39 of file SoundFile.cpp.

◆ pcmExtraData

ManagedBytes PcmWavHeader::pcmExtraData

Definition at line 45 of file SoundFile.cpp.

◆ pcmFormatTag

NetInt16 PcmWavHeader::pcmFormatTag

Definition at line 38 of file SoundFile.cpp.

◆ pcmSamplesPerSecond

NetInt32 PcmWavHeader::pcmSamplesPerSecond

Definition at line 40 of file SoundFile.cpp.

◆ wavHeader

NetInt32 PcmWavHeader::wavHeader

Definition at line 31 of file SoundFile.cpp.

◆ wavLength

NetInt32 PcmWavHeader::wavLength

Definition at line 32 of file SoundFile.cpp.


The documentation for this class was generated from the following file: