Main Page | File List | Globals

sample.hcc File Reference

#include "sample.hch"

Include dependency graph for sample.hcc:

Include dependency graph

Go to the source code of this file.

Functions

void sample_add (signed 16 in_sample)
 This procedure adds the supplied sample to the input buffer.
void sample_get (signed 16 *out_sample)
 This procedure gets the sample from the current output buffer.
unsigned sample_rotate_buffers (void)
 This procedure rotates our buffers around if 64 samples are read into our current buffer.


Detailed Description

Audiodriver API

Project information.

Project Graphic Equalizer
Author:
O.M. Schinagl
Date:
20041021
Version:
0.1

Copyright

Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved

Change history

20041021: O.M. Schinagl
Initial version

Definition in file sample.hcc.


Function Documentation

void sample_add signed 16  in_sample  ) 
 

This procedure adds the supplied sample to the input buffer.

Parameters:
signed 16 in_sample 16 bits signed sample to be added.
Returns:
void
Return values:
void 

Definition at line 46 of file sample.hcc.

void sample_get signed 16 *  out_sample  ) 
 

This procedure gets the sample from the current output buffer.

Parameters:
* in_sample pointer to storage for sample.
Returns:
void
Return values:
void 

Definition at line 65 of file sample.hcc.

unsigned sample_rotate_buffers void   ) 
 

This procedure rotates our buffers around if 64 samples are read into our current buffer.

Parameters:
in_sample 16 bits signed sample to be added.
Returns:
1 when 64 samples have passed, 0 otherwise.
Return values:
unsigned 1;

Definition at line 84 of file sample.hcc.


Generated on Mon Nov 29 10:53:30 2004 for Graphic Equalizer by  doxygen 1.3.9.1