2 * oxfw-scs1x.c - a part of driver for OXFW970/971 based devices
4 * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
5 * Copyright (c) 2015 Takashi Sakamoto <o-takashi@sakamocchi.jp>
7 * Licensed under the terms of the GNU General Public License, version 2.
12 int snd_oxfw_scs1x_add(struct snd_oxfw
*oxfw
)
14 struct snd_rawmidi
*rmidi
;
17 /* Use unique name for backward compatibility to scs1x module. */
18 err
= snd_rawmidi_new(oxfw
->card
, "SCS.1x", 0, 0, 0, &rmidi
);
22 snprintf(rmidi
->name
, sizeof(rmidi
->name
),
23 "%s MIDI", oxfw
->card
->shortname
);
This page took 0.033015 seconds and 5 git commands to generate.