libgig
3.3.0.svn21
|
Subdivision of an AKAI disk partition. More...
#include <Akai.h>
Public Member Functions | |
AkaiDirEntry | GetDirEntry () |
uint | ListPrograms (std::list< AkaiDirEntry > &rPrograms) |
AkaiProgram * | GetProgram (uint Index) |
AkaiProgram * | GetProgram (const String &rName) |
uint | ListSamples (std::list< AkaiDirEntry > &rSamples) |
AkaiSample * | GetSample (uint Index) |
AkaiSample * | GetSample (const String &rName) |
AkaiPartition * | GetParent () |
bool | IsEmpty () |
uint | GetOffset () |
uint | Acquire () |
uint | Release () |
Protected Member Functions | |
void | SetOffset (uint Offset) |
void | AkaiToAscii (char *buffer, int length) |
int | ReadFAT (DiskImage *pDisk, AkaiPartition *pPartition, int block) |
bool | ReadDirEntry (DiskImage *pDisk, AkaiPartition *pPartition, AkaiDirEntry &rEntry, int block, int pos) |
Friends | |
class | AkaiPartition |
Subdivision of an AKAI disk partition.
An AKAI volume is a further subdivision of an AKAI disk partition.
An AKAI volume actually provides access to the list of instruments (programs) and samples. Samples referenced by an instrument (program) are always part of the same volume.
|
inlineinherited |
Definition at line 182 of file Akai.h.
Referenced by AkaiDisk::GetPartition(), AkaiDisk::GetPartitionCount(), AkaiProgram::GetSample(), and AkaiPartition::ListVolumes().
|
protectedinherited |
Definition at line 1237 of file Akai.cpp.
Referenced by AkaiProgram::GetSample(), AkaiProgram::Load(), AkaiSample::LoadHeader(), and AkaiDiskElement::ReadDirEntry().
AkaiDirEntry AkaiVolume::GetDirEntry | ( | ) |
|
inlineinherited |
Definition at line 219 of file Akai.h.
Referenced by AkaiProgram::Load(), AkaiSample::LoadHeader(), AkaiDiskElement::ReadDirEntry(), and AkaiDiskElement::ReadFAT().
|
inline |
Definition at line 631 of file Akai.h.
Referenced by AkaiProgram::Load(), and AkaiSample::LoadHeader().
AkaiProgram * AkaiVolume::GetProgram | ( | uint | Index | ) |
AkaiProgram * AkaiVolume::GetProgram | ( | const String & | rName | ) |
AkaiSample * AkaiVolume::GetSample | ( | uint | Index | ) |
Definition at line 955 of file Akai.cpp.
References AkaiSample::mpSamples.
AkaiSample * AkaiVolume::GetSample | ( | const String & | rName | ) |
Definition at line 979 of file Akai.cpp.
References AkaiSample::mpSamples.
bool AkaiVolume::IsEmpty | ( | ) |
Definition at line 1005 of file Akai.cpp.
Referenced by AkaiPartition::ListVolumes().
uint AkaiVolume::ListPrograms | ( | std::list< AkaiDirEntry > & | rPrograms | ) |
uint AkaiVolume::ListSamples | ( | std::list< AkaiDirEntry > & | rSamples | ) |
Definition at line 942 of file Akai.cpp.
References AkaiSample::mpSamples.
|
protectedinherited |
Definition at line 1189 of file Akai.cpp.
References AKAI_BLOCK_SIZE, AKAI_DIR_ENTRY_OFFSET, AKAI_DIR_ENTRY_SIZE, AKAI_FILE_ENTRY_SIZE, AKAI_ROOT_ENTRY_OFFSET, akai_stream_curpos, AkaiDiskElement::AkaiToAscii(), AkaiDiskElement::GetOffset(), AkaiDirEntry::mName, AkaiDirEntry::mSize, AkaiDirEntry::mStart, AkaiDirEntry::mType, DiskImage::Read(), AkaiDiskElement::ReadFAT(), DiskImage::ReadInt16(), and DiskImage::SetPos().
Referenced by AkaiProgram::GetSample(), and AkaiPartition::ListVolumes().
|
protectedinherited |
Definition at line 1180 of file Akai.cpp.
References AKAI_FAT_OFFSET, AkaiDiskElement::GetOffset(), DiskImage::Read(), and DiskImage::SetPos().
Referenced by AkaiProgram::GetSample(), and AkaiDiskElement::ReadDirEntry().
|
inlineinherited |
Definition at line 186 of file Akai.h.
Referenced by AkaiPartition::ListVolumes().
|
inlineprotectedinherited |
Definition at line 225 of file Akai.h.
Referenced by AkaiDisk::GetPartitionCount().
|
friend |