emux_proc.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) emux_proc.c (52262b4a5d7c3d3549985a47d96fe7d661220162)
1/*
2 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
3 *
4 * Proc interface for Emu8k/Emu10k1 WaveTable synth
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 10 unchanged lines hidden (view full) ---

19 */
20
21#include <linux/wait.h>
22#include <sound/core.h>
23#include <sound/emux_synth.h>
24#include <sound/info.h>
25#include "emux_voice.h"
26
1/*
2 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de>
3 *
4 * Proc interface for Emu8k/Emu10k1 WaveTable synth
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 10 unchanged lines hidden (view full) ---

19 */
20
21#include <linux/wait.h>
22#include <sound/core.h>
23#include <sound/emux_synth.h>
24#include <sound/info.h>
25#include "emux_voice.h"
26
27#ifdef CONFIG_PROC_FS
28
29static void
30snd_emux_proc_info_read(struct snd_info_entry *entry,
31 struct snd_info_buffer *buf)
32{
33 struct snd_emux *emu;
34 int i;
35
36 emu = entry->private_data;

--- 86 unchanged lines hidden (view full) ---

123 emu->proc = entry;
124}
125
126void snd_emux_proc_free(struct snd_emux *emu)
127{
128 snd_info_free_entry(emu->proc);
129 emu->proc = NULL;
130}
27static void
28snd_emux_proc_info_read(struct snd_info_entry *entry,
29 struct snd_info_buffer *buf)
30{
31 struct snd_emux *emu;
32 int i;
33
34 emu = entry->private_data;

--- 86 unchanged lines hidden (view full) ---

121 emu->proc = entry;
122}
123
124void snd_emux_proc_free(struct snd_emux *emu)
125{
126 snd_info_free_entry(emu->proc);
127 emu->proc = NULL;
128}
131
132#endif /* CONFIG_PROC_FS */