Lines Matching +full:1 +full:br +full:- +full:100
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com>
14 The HPI is a low-level hardware abstraction layer to all
17 (C) Copyright AudioScience Inc. 1998-2010
37 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */
38 HPI_FORMAT_PCM8_UNSIGNED = 1,
39 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */
41 /** MPEG-1 Layer-1. */
43 /** MPEG-1 Layer-2.
49 <table border=1 cellspacing=0 cellpadding=5>
53 <td><p><b>Stereo,<br>Joint Stereo or<br>Dual Channel</b></p>
67 <tr><td>256<td>-<td>X
68 <tr><td>320<td>-<td>X
73 /** MPEG-1 Layer-3.
78 <table border=1 cellspacing=0 cellpadding=5>
81 <td><p><b>Mono<br>Stereo @ 8,<br>11.025 and<br>12kHz*</b></p>
82 <td><p><b>Mono<br>Stereo @ 16,<br>22.050 and<br>24kHz*</b></p>
83 <td><p><b>Mono<br>Stereo @ 32,<br>44.1 and<br>48kHz</b></p>
100 <tr><td>256<td>-<td>_<td>X
101 <tr><td>320<td>-<td>_<td>X
106 /** Dolby AC-2. */
108 /** Dolbt AC-3. */
110 /** 16-bit PCM big-endian. */
112 /** TAGIT-1 algorithm - hits. */
114 /** TAGIT-1 algorithm - inserts. */
116 /** 32-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM.
117 Each sample is a 32bit word. The most significant 24 bits contain a 24-bit
121 /** Raw bitstream - unknown format. */
123 /** TAGIT-1 algorithm hits - extended. */
125 /** 32-bit PCM as an IEEE float. Windows equivalent is WAVE_FORMAT_IEEE_FLOAT.
127 The range is +1.0 to -1.0, which corresponds to digital fullscale.
130 /** 24-bit PCM signed. Windows equivalent is WAVE_FORMAT_PCM. */
132 /** OEM format 1 - private. */
134 /** OEM format 2 - private. */
145 /** State stopped - stream is stopped. */
146 HPI_STATE_STOPPED = 1,
147 /** State playing - stream is playing audio. */
149 /** State recording - stream is recording. */
151 /** State drained - playing stream ran out of data to play. */
153 /** State generate sine - to be implemented. */
155 /** State wait - used for inter-card sync to mean waiting for all
168 HPI_SOURCENODE_NONE = 100,
171 /** Line in node - could be analog, AES/EBU or network. */
179 /** Cobranet input node -
184 /** RTP stream input node - This node is a destination for
189 HPI_SOURCENODE_BLULINK = 115, /**< BLU-link input channel */
211 /** Cobranet output node -
215 /** RTP stream output node - This node is a source for
220 HPI_DESTNODE_BLULINK = 211, /**< BLU-link output channel. */
232 HPI_CONTROL_CONNECTION = 1, /**< A connection between nodes. */
233 HPI_CONTROL_VOLUME = 2, /**< volume control - works in dB_fs. */
235 HPI_CONTROL_MUTE = 4, /*mute control - not used at present. */
244 HPI_CONTROL_LEVEL = 8, /**< level/trim control - works in d_bu. */
285 HPI_ADAPTER_PROPERTY_ERRATA_1 = 1,
301 non-volatile memory on the adapter. A typical call sequence would be to use
311 this property is set to 0. Setting to a non-zero value specifies the number
323 Property 1 is the estimated input latency
331 This property returns the record granularity in samples in Property 1.
337 Property 1 is the number of record channels per record device.
344 Property 1 contains Major in bits 15..8 and Minor in bits 7..0.
351 Property 1 contains bits 47..32 of the MAC address.
358 Property 1 contains bits 15..0 of the MAC address. */
363 adapter type, i.e ASI8920-0022, 0022 is the extended type.
366 Property 1 returns the 1st two (left most) digits, i.e "00"
377 Property 1 returns the 1st two (left most) digits, i.e 192*256 + 168
379 Property 2 returns the 2nd two digits, i.e 1*256 + 101 in the example above, */
398 Property 1 is the mixer interval in mixer frames.
402 /** Adapter capabilities 1
403 Property 1 - adapter can do multichannel (SSX1)
404 Property 2 - adapter can do stream grouping (supports SSX2)
408 Property 1 - adapter can do samplerate conversion (MRX)
409 Property 2 - adapter can do timestretch (TSX)
418 return value is true (1) or false (0). If the current adapter
437 Property 1 = Bootloader ID
453 HPI_ADAPTER_MODE_QUERY = 1
459 \warning - more than 16 possible modes breaks
465 - ASI6114: 1 instream
466 - ASI6044: 4 instreams
467 - ASI6012: 1 instream
468 - ASI6102: no instreams
469 - ASI6022, ASI6122: 2 instreams
470 - ASI5111, ASI5101: 2 instreams
471 - ASI652x, ASI662x: 2 instreams
472 - ASI654x, ASI664x: 4 instreams
474 HPI_ADAPTER_MODE_4OSTREAM = 1,
477 - ASI6012: 1 instream,
478 - ASI6022, ASI6122: 2 instreams
479 - ASI652x, ASI662x: 4 instreams
484 - ASI6114: 8 instreams
485 - ASI6118: 8 instreams
486 - ASI6585: 8 instreams
491 - ASI6416 16 instreams
492 - ASI6518, ASI6618 16 instreams
493 - ASI6118 16 mono out and in streams
498 - ASI5111 1 outstream, 1 instream
502 /** ASI504X mode 1. 12 outstream, 4 instream 0 to 48kHz sample rates
518 2 outstreams -> 4 line outs = 1 to 8 channel streams),
519 4 lineins -> 1 instream (1 to 8 channel streams) at 0-48kHz.
525 - ASI6514, ASI6614: 2 instreams
526 - ASI6540,ASI6544: 8 instreams
527 - ASI6640,ASI6644: 8 instreams
532 - ASI6044: 8 instreams
537 - ASI6416: 16 outstreams/instreams
538 - ASI5402: 2 outstreams/instreams
543 - ASI6416/ASI6316: 1 16 channel outstream and instream
548 /* Note, adapters can have more than one capability -
551 #define HPI_CAPABILITY_MPEG_LAYER3 (1)
554 Must not be greater than 32 - see axnvdef.h */
555 #define HPI_CAPABILITY_MAX 1
572 HPI_MPEG_ANC_RAW = 1
582 HPI_MPEG_ANC_ALIGN_RIGHT = 1
586 MPEG modes - can be used optionally for HPI_FormatCreate()
594 /** Causes the MPEG-1 Layer II bitstream to be recorded
595 in single_channel mode when the number of channels is 1 and in stereo when the
598 /** Standard stereo without joint-stereo compression */
599 HPI_MPEG_MODE_STEREO = 1,
611 #define HPI_MIXER_GET_CONTROL_MULTIPLE_RESET (1)
619 HPI_MIXER_STORE_SAVE = 1,
628 /** Unimplemented - save the attributes of a single control. */
643 HPI_SWITCH_ON = 1 /**< turn the mixer plugin off. */
648 /** volumes units are 100ths of a dB
651 #define HPI_UNITS_PER_dB 100
655 #define HPI_GAIN_OFF (-100 * HPI_UNITS_PER_dB)
665 #define HPI_METER_MINIMUM (-150 * HPI_UNITS_PER_dB)
671 /** log fade - dB attenuation changes linearly over time */
673 /** linear fade - amplitude changes linearly */
684 /** AES/EBU physical format - AES/EBU balanced "professional" */
685 HPI_AESEBU_FORMAT_AESEBU = 1,
686 /** AES/EBU physical format - S/PDIF unbalanced "consumer" */
696 /** bit0: 1 when PLL is not locked */
698 /** bit1: 1 when signal quality is poor */
700 /** bit2: 1 when there is a parity error */
702 /** bit3: 1 when there is a bi-phase coding violation */
704 /** bit4: 1 when the validity bit is high */
706 /** bit5: 1 when the CRC error bit is high */
730 HPI_RDS_DATATYPE_RBDS = 1 /**< RBDS bitstream.*/
739 HPI_TUNER_BAND_AM = 1, /**< AM band */
741 HPI_TUNER_BAND_TV_NTSC_M = 3, /**< NTSC-M TV band*/
745 HPI_TUNER_BAND_TV_PAL_BG = 6, /**< PAL-B/G TV band*/
746 HPI_TUNER_BAND_TV_PAL_I = 7, /**< PAL-I TV band*/
747 HPI_TUNER_BAND_TV_PAL_DK = 8, /**< PAL-D/K TV band*/
748 HPI_TUNER_BAND_TV_SECAM_L = 9, /**< SECAM-L TV band*/
760 HPI_TUNER_MODE_RSS = 1, /**< control RSS */
772 HPI_TUNER_MODE_RSS_ENABLE = 1, /**< RSS enable */
775 HPI_TUNER_MODE_RDS_DISABLE = 0, /**< RDS - disabled */
776 HPI_TUNER_MODE_RDS_RDS = 1, /**< RDS - RDS mode */
777 HPI_TUNER_MODE_RDS_RBDS = 2 /**< RDS - RBDS mode */
803 HPI_CHANNEL_MODE_NORMAL = 1,
825 HPI_SAMPLECLOCK_SOURCE_LOCAL = 1,
830 /** Board-to-board header */
832 /** FUTURE - SMPTE clock. */
852 HPI_FILTER_TYPE_LOWSHELF = 1, /**< EQ low shelf */
866 HPI_ASYNC_EVENT_GPIO = 1, /**< GPIO event. */
879 \note Codes 1-100 are reserved for driver use
884 HPI_ERROR_INVALID_TYPE = 100,
1091 /** Networked adapters have index >= 100 */
1092 #define HPI_MIN_NETWORK_ADAPTER_IDX 100
1098 /** OutStream timescale passthrough - turns timescaling on in passthough mode */
1106 #pragma pack(push, 1)
1121 u16 channels; /**< 1,2..., (or ancillary mode or idle bit */