VLSI Solution Oy VLSI Solution Oy Evaluation MP3 Player Source Code Documentation

Main Page | Class List | File List | Class Members | File Members | Related Pages

buffer.c File Reference

Global buffer for file I/O. More...

#include "buffer.h"

Include dependency graph for buffer.c:

Include dependency graph

Go to the source code of this file.

Variables

xdata DiskBlockType diskSect
 File I/O buffer.

xdata unsigned char * dataBufPtr
 Global Data Buffer pointer Used mainly for filling the buffer and reading MP3 data to send to the codec, be very careful with what you do with this global pointer!

addressType sectorAddress
 Dirty but powerful global variable that is used for 1) remembering which sector is in the RAM disk buffer diskSect and 2) possibly other weird and dirty purposes, be very careful with this!


Detailed Description

Global buffer for file I/O.

Supported data types: Raw buffer, FAT entries.

Definition in file buffer.c.


Variable Documentation

xdata unsigned char* dataBufPtr
 

Global Data Buffer pointer Used mainly for filling the buffer and reading MP3 data to send to the codec, be very careful with what you do with this global pointer!

Definition at line 13 of file buffer.c.

Referenced by FGetChar(), GetAVIBlock(), MmcGetData(), OpenFile(), PerformBlockRead(), PlayAvi(), PlayDiskSectors(), Record(), WriteDiskSector(), and WritePhysicalSector().

xdata DiskBlockType diskSect
 

File I/O buffer.

Definition at line 10 of file buffer.c.

Referenced by BuildFragmentTable(), DumpDiskSector(), FatInitGlobals(), FGetChar(), GetAVIBlock(), GetFatEntry(), GetNextSector(), GetStorageInformation(), InitFileSystem(), InitMMC(), MmcGetData(), OpenFile(), PerformBlockRead(), PlayAvi(), PlayDiskSectors(), Record(), WriteClusterChain(), WriteDiskSector(), and WritePhysicalSector().

addressType sectorAddress
 

Dirty but powerful global variable that is used for 1) remembering which sector is in the RAM disk buffer diskSect and 2) possibly other weird and dirty purposes, be very careful with this!

Definition at line 15 of file buffer.c.

Referenced by BuildFragmentTable(), ConsoleDecipherMMCResponse(), DumpDiskSector(), FatInitGlobals(), FGetChar(), GetAVIBlock(), GetFatEntry(), GetNextSector(), InitFileSystem(), LoadNextSector(), OpenFile(), PlayAvi(), PlayCurrentFile(), PlayDiskSectors(), Record(), SeekSector(), WriteClusterChain(), WriteDiskSector(), and WritePhysicalSector().


All software copyright 2000-2004 VLSI Solution OY. Redistribution of these software modules are limited to promotional use only and only with the VS1011 / VS1002 / VS1003 MP3-Evakit evaluation boards. Free or commercial use of these software modules in MP3 players is ok if the product includes MP3 decoder chip(s) from VLSI. You can request the complete (compilable) package from mp3@vlsi.fi