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

helpers.c File Reference

Linux DDE Soundcore Helpers. More...

#include <l4/env/errno.h>
#include <l4/dde_linux/dde.h>
#include <l4/dde_linux/sound.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/soundcard.h>
#include "__config.h"
#include "internal.h"
#include "soundcore.h"

Go to the source code of this file.

Classes

struct  devs
 all sound devices More...


Functions

void show_fops (struct file_operations *f)
 show file operation pointers

int snd_open_dev (int type, int num)
 internal open

int l4dde_snd_open_dsp (int num)
 Open dsp.

int l4dde_snd_open_mixer (int num)
 Open mixer.

int l4dde_snd_close (int dev)
 Close DSP unit.

int l4dde_snd_read (int dev, void *buf, int count)
 Read from sound unit.

int l4dde_snd_write (int dev, const void *buf, int count)
 Write to sound unit.

int l4dde_snd_ioctl (int dev, int req, l4_addr_t arg)
 Execute ioctl() for unit.

int l4dde_snd_init ()
 Initialize soundcore emulation.

int l4dde_snd_exit ()
 Finalize soundcore emulation.


Variables

int _initialized = 0
 initialization flag

devs devs [TYPE_MAX][NUM_MAX]
 all sound devices


Detailed Description

Linux DDE Soundcore Helpers.

Date:
08/28/2003
Author:
Christian Helmuth <ch12@os.inf.tu-dresden.de>

Definition in file helpers.c.


Linux DDE, written by Christian Helmuth  © 2003 Technische Universitaet Dresden