emux.c (95a0c7c2d6cfde3fb5fdb713428ed0df4d6bdd58) | emux.c (08352b200b203f8f9fa8a1c914acb58c7b10f907) |
---|---|
1/* 2 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de> 3 * 4 * Routines for control of EMU WaveTable chip 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 --- 39 unchanged lines hidden (view full) --- 48 49 emu->client = -1; 50#if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS) 51 emu->oss_synth = NULL; 52#endif 53 emu->max_voices = 0; 54 emu->use_time = 0; 55 | 1/* 2 * Copyright (C) 2000 Takashi Iwai <tiwai@suse.de> 3 * 4 * Routines for control of EMU WaveTable chip 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 --- 39 unchanged lines hidden (view full) --- 48 49 emu->client = -1; 50#if IS_ENABLED(CONFIG_SND_SEQUENCER_OSS) 51 emu->oss_synth = NULL; 52#endif 53 emu->max_voices = 0; 54 emu->use_time = 0; 55 |
56 setup_timer(&emu->tlist, snd_emux_timer_callback, (unsigned long)emu); | 56 timer_setup(&emu->tlist, snd_emux_timer_callback, 0); |
57 emu->timer_active = 0; 58 59 *remu = emu; 60 return 0; 61} 62 63EXPORT_SYMBOL(snd_emux_new); 64 --- 118 unchanged lines hidden --- | 57 emu->timer_active = 0; 58 59 *remu = emu; 60 return 0; 61} 62 63EXPORT_SYMBOL(snd_emux_new); 64 --- 118 unchanged lines hidden --- |