midi.c (a019f5e8c522f5b5f8b3419a1e56d142ea4c7621) midi.c (85a9339becf0af4d547ceb6bb16d1893b05fbce4)
1/*
2 * Line6 Linux USB driver - 0.9.1beta
3 *
4 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
9 *
10 */
11
12#include <linux/slab.h>
13#include <linux/usb.h>
14#include <linux/export.h>
15#include <sound/core.h>
16#include <sound/rawmidi.h>
17
1/*
2 * Line6 Linux USB driver - 0.9.1beta
3 *
4 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
9 *
10 */
11
12#include <linux/slab.h>
13#include <linux/usb.h>
14#include <linux/export.h>
15#include <sound/core.h>
16#include <sound/rawmidi.h>
17
18#include "audio.h"
19#include "driver.h"
20#include "midi.h"
21#include "usbdefs.h"
22
23#define line6_rawmidi_substream_midi(substream) \
24 ((struct snd_line6_midi *)((substream)->rmidi->private_data))
25
26static int send_midi_async(struct usb_line6 *line6, unsigned char *data,

--- 274 unchanged lines hidden ---
18#include "driver.h"
19#include "midi.h"
20#include "usbdefs.h"
21
22#define line6_rawmidi_substream_midi(substream) \
23 ((struct snd_line6_midi *)((substream)->rmidi->private_data))
24
25static int send_midi_async(struct usb_line6 *line6, unsigned char *data,

--- 274 unchanged lines hidden ---