mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
![Stefan Hajnoczi](/assets/img/avatar_default.png)
The Pod HD device family uses new MIDI SysEx messages and therefore cannot reuse the existing Pod code. Instead of hardcoding Pod HD MIDI messages into the driver, leave MIDI up to userspace. This driver simply presents MIDI and pcm ALSA devices. This device is similar to the Pod except that it has 48 kHz audio and does not respond to Pod SysEx messages. Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
30 lines
638 B
C
30 lines
638 B
C
/*
|
|
* Line6 Pod HD
|
|
*
|
|
* Copyright (C) 2011 Stefan Hajnoczi <stefanha@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation, version 2.
|
|
*
|
|
*/
|
|
|
|
#ifndef PODHD_H
|
|
#define PODHD_H
|
|
|
|
#include <linux/usb.h>
|
|
|
|
#include "driver.h"
|
|
|
|
struct usb_line6_podhd {
|
|
/**
|
|
Generic Line6 USB data.
|
|
*/
|
|
struct usb_line6 line6;
|
|
};
|
|
|
|
extern void line6_podhd_disconnect(struct usb_interface *interface);
|
|
extern int line6_podhd_init(struct usb_interface *interface,
|
|
struct usb_line6_podhd *podhd);
|
|
|
|
#endif /* PODHD_H */
|