ff.h (aef4ad2f5aa27ec05f0306547bcf7cf86a9e9873) | ff.h (a91f676074c05b3c455700b90849adcfda50079e) |
---|---|
1/* 2 * ff.h - a part of driver for RME Fireface series 3 * 4 * Copyright (c) 2015-2017 Takashi Sakamoto 5 * 6 * Licensed under the terms of the GNU General Public License, version 2. 7 */ 8 --- 100 unchanged lines hidden (view full) --- 109 110struct snd_ff_protocol { 111 void (*handle_midi_msg)(struct snd_ff *ff, __le32 *buf, size_t length); 112 int (*begin_session)(struct snd_ff *ff, unsigned int rate); 113 void (*finish_session)(struct snd_ff *ff); 114 int (*switch_fetching_mode)(struct snd_ff *ff, bool enable); 115}; 116 | 1/* 2 * ff.h - a part of driver for RME Fireface series 3 * 4 * Copyright (c) 2015-2017 Takashi Sakamoto 5 * 6 * Licensed under the terms of the GNU General Public License, version 2. 7 */ 8 --- 100 unchanged lines hidden (view full) --- 109 110struct snd_ff_protocol { 111 void (*handle_midi_msg)(struct snd_ff *ff, __le32 *buf, size_t length); 112 int (*begin_session)(struct snd_ff *ff, unsigned int rate); 113 void (*finish_session)(struct snd_ff *ff); 114 int (*switch_fetching_mode)(struct snd_ff *ff, bool enable); 115}; 116 |
117extern const struct snd_ff_protocol snd_ff_protocol_ff800; |
|
117extern const struct snd_ff_protocol snd_ff_protocol_ff400; 118 119int snd_ff_transaction_get_clock(struct snd_ff *ff, unsigned int *rate, 120 enum snd_ff_clock_src *src); 121int snd_ff_transaction_register(struct snd_ff *ff); 122int snd_ff_transaction_reregister(struct snd_ff *ff); 123void snd_ff_transaction_unregister(struct snd_ff *ff); 124 --- 26 unchanged lines hidden --- | 118extern const struct snd_ff_protocol snd_ff_protocol_ff400; 119 120int snd_ff_transaction_get_clock(struct snd_ff *ff, unsigned int *rate, 121 enum snd_ff_clock_src *src); 122int snd_ff_transaction_register(struct snd_ff *ff); 123int snd_ff_transaction_reregister(struct snd_ff *ff); 124void snd_ff_transaction_unregister(struct snd_ff *ff); 125 --- 26 unchanged lines hidden --- |