/* SPDX-License-Identifier: GPL-2.0-only */ /* * dice.h - a part of driver for Dice based devices * * Copyright (c) Clemens Ladisch * Copyright (c) 2014 Takashi Sakamoto
*/
/* * This module support maximum 2 pairs of tx/rx isochronous streams for * our convinience. * * In documents for ASICs called with a name of 'DICE': * - ASIC for DICE II: * - Maximum 2 tx and 4 rx are supported. * - A packet supports maximum 16 data channels. * - TCD2210/2210-E (so-called 'Dice Mini'): * - Maximum 2 tx and 2 rx are supported. * - A packet supports maximum 16 data channels. * - TCD2220/2220-E (so-called 'Dice Jr.') * - 2 tx and 2 rx are supported. * - A packet supports maximum 16 data channels. * - TCD3070-CH (so-called 'Dice III') * - Maximum 2 tx and 2 rx are supported. * - A packet supports maximum 32 data channels. * * For the above, MIDI conformant data channel is just on the first isochronous * stream.
*/ #define MAX_STREAMS 2
int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsignedint rate, enum snd_dice_rate_mode *mode); int snd_dice_stream_start_duplex(struct snd_dice *dice); void snd_dice_stream_stop_duplex(struct snd_dice *dice); int snd_dice_stream_init_duplex(struct snd_dice *dice); void snd_dice_stream_destroy_duplex(struct snd_dice *dice); int snd_dice_stream_reserve_duplex(struct snd_dice *dice, unsignedint rate, unsignedint events_per_period, unsignedint events_per_buffer); void snd_dice_stream_update_duplex(struct snd_dice *dice); int snd_dice_stream_detect_current_formats(struct snd_dice *dice);
int snd_dice_stream_lock_try(struct snd_dice *dice); void snd_dice_stream_lock_release(struct snd_dice *dice);
int snd_dice_create_pcm(struct snd_dice *dice);
int snd_dice_create_hwdep(struct snd_dice *dice);
void snd_dice_create_proc(struct snd_dice *dice);
int snd_dice_create_midi(struct snd_dice *dice);
int snd_dice_detect_tcelectronic_formats(struct snd_dice *dice); int snd_dice_detect_alesis_formats(struct snd_dice *dice); int snd_dice_detect_alesis_mastercontrol_formats(struct snd_dice *dice); int snd_dice_detect_extension_formats(struct snd_dice *dice); int snd_dice_detect_mytek_formats(struct snd_dice *dice); int snd_dice_detect_presonus_formats(struct snd_dice *dice); int snd_dice_detect_harman_formats(struct snd_dice *dice); int snd_dice_detect_focusrite_pro40_tcd3070_formats(struct snd_dice *dice); int snd_dice_detect_weiss_formats(struct snd_dice *dice);
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.