.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * digi00x.h - a part of driver for Digidesign Digi 002/003 family |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2014-2015 Takashi Sakamoto |
---|
5 | | - * |
---|
6 | | - * Licensed under the terms of the GNU General Public License, version 2. |
---|
7 | 6 | */ |
---|
8 | 7 | |
---|
9 | 8 | #ifndef SOUND_DIGI00X_H_INCLUDED |
---|
.. | .. |
---|
60 | 59 | |
---|
61 | 60 | /* Console models have additional MIDI ports for control surface. */ |
---|
62 | 61 | bool is_console; |
---|
| 62 | + |
---|
| 63 | + struct amdtp_domain domain; |
---|
63 | 64 | }; |
---|
64 | 65 | |
---|
65 | 66 | #define DG00X_ADDR_BASE 0xffffe0000000ull |
---|
.. | .. |
---|
140 | 141 | int snd_dg00x_stream_check_external_clock(struct snd_dg00x *dg00x, |
---|
141 | 142 | bool *detect); |
---|
142 | 143 | int snd_dg00x_stream_init_duplex(struct snd_dg00x *dg00x); |
---|
143 | | -int snd_dg00x_stream_start_duplex(struct snd_dg00x *dg00x, unsigned int rate); |
---|
| 144 | +int snd_dg00x_stream_reserve_duplex(struct snd_dg00x *dg00x, unsigned int rate, |
---|
| 145 | + unsigned int frames_per_period, |
---|
| 146 | + unsigned int frames_per_buffer); |
---|
| 147 | +int snd_dg00x_stream_start_duplex(struct snd_dg00x *dg00x); |
---|
144 | 148 | void snd_dg00x_stream_stop_duplex(struct snd_dg00x *dg00x); |
---|
145 | 149 | void snd_dg00x_stream_update_duplex(struct snd_dg00x *dg00x); |
---|
146 | 150 | void snd_dg00x_stream_destroy_duplex(struct snd_dg00x *dg00x); |
---|