.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * dice.h - a part of driver for Dice based devices |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) Clemens Ladisch |
---|
5 | 6 | * Copyright (c) 2014 Takashi Sakamoto |
---|
6 | | - * |
---|
7 | | - * Licensed under the terms of the GNU General Public License, version 2. |
---|
8 | 7 | */ |
---|
9 | 8 | |
---|
10 | 9 | #ifndef SOUND_DICE_H_INCLUDED |
---|
.. | .. |
---|
113 | 112 | bool global_enabled; |
---|
114 | 113 | struct completion clock_accepted; |
---|
115 | 114 | unsigned int substreams_counter; |
---|
| 115 | + |
---|
| 116 | + struct amdtp_domain domain; |
---|
116 | 117 | }; |
---|
117 | 118 | |
---|
118 | 119 | enum snd_dice_addr_type { |
---|
.. | .. |
---|
205 | 206 | |
---|
206 | 207 | int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, |
---|
207 | 208 | enum snd_dice_rate_mode *mode); |
---|
208 | | -int snd_dice_stream_start_duplex(struct snd_dice *dice, unsigned int rate); |
---|
| 209 | +int snd_dice_stream_start_duplex(struct snd_dice *dice); |
---|
209 | 210 | void snd_dice_stream_stop_duplex(struct snd_dice *dice); |
---|
210 | 211 | int snd_dice_stream_init_duplex(struct snd_dice *dice); |
---|
211 | 212 | void snd_dice_stream_destroy_duplex(struct snd_dice *dice); |
---|
| 213 | +int snd_dice_stream_reserve_duplex(struct snd_dice *dice, unsigned int rate, |
---|
| 214 | + unsigned int events_per_period, |
---|
| 215 | + unsigned int events_per_buffer); |
---|
212 | 216 | void snd_dice_stream_update_duplex(struct snd_dice *dice); |
---|
213 | 217 | int snd_dice_stream_detect_current_formats(struct snd_dice *dice); |
---|
214 | 218 | |
---|
.. | .. |
---|
225 | 229 | |
---|
226 | 230 | int snd_dice_detect_tcelectronic_formats(struct snd_dice *dice); |
---|
227 | 231 | int snd_dice_detect_alesis_formats(struct snd_dice *dice); |
---|
| 232 | +int snd_dice_detect_alesis_mastercontrol_formats(struct snd_dice *dice); |
---|
228 | 233 | int snd_dice_detect_extension_formats(struct snd_dice *dice); |
---|
229 | 234 | int snd_dice_detect_mytek_formats(struct snd_dice *dice); |
---|
| 235 | +int snd_dice_detect_presonus_formats(struct snd_dice *dice); |
---|
230 | 236 | |
---|
231 | 237 | #endif |
---|