Logo Search packages:      
Sourcecode: alsa-driver version File versions  Download package

hpidspcd.h File Reference


Detailed Description

AudioScience HPI driver Copyright (C) 1997-2003 AudioScience Inc. <support@audioscience.com>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation;

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Functions for reading DSP code to load into DSP

hpi_dspcode_defines HPI DSP code loading method Define exactly one of these to select how the DSP code is supplied to the adapter.

End users writing applications that use the HPI interface do not have to use any of the below defines; they are only necessary for building drivers

HPI_DSPCODE_FILE: DSP code is supplied as a file that is opened and read from by the driver.

HPI_DSPCODE_FIRMWARE: DSP code is read using the hotplug firmware loader module. Only valid when compiling the HPI kernel driver under Linux.

Definition in file hpidspcd.h.

#include "hpi_internal.h"

Go to the source code of this file.

Classes

struct  dsp_code

Functions

void hpi_dsp_code_close (struct dsp_code *ps_dsp_code)
short hpi_dsp_code_open (u32 adapter, struct dsp_code *ps_dsp_code, u32 *pos_error_code)
short hpi_dsp_code_read_block (size_t words_requested, struct dsp_code *ps_dsp_code, u32 **ppblock)
short hpi_dsp_code_read_word (struct dsp_code *ps_dsp_code, u32 *pword)
void hpi_dsp_code_rewind (struct dsp_code *ps_dsp_code)


Generated by  Doxygen 1.6.0   Back to index