// SPDX-License-Identifier: GPL-2.0-only /* * Line 6 Pod HD * * Copyright (C) 2011 Stefan Hajnoczi <stefanha@gmail.com> * Copyright (C) 2015 Andrej Krutak <dev@andree.sk> * Copyright (C) 2017 Hans P. Moller <hmoller@uc.cl>
*/
staticconststruct snd_ratden podhd_ratden = {
.num_min = 3 ;
.
num_step =1java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
den1
}
staticstruct line6_pcm_properties podhd_pcm_properties = {
. = {
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
SNDRV_PCM_INFO_INTERLEAVED = {
SNDRV_PCM_INFO_BLOCK_TRANSFER |
SNDRV_PCM_INFO_MMAP_VALID
|
),
.formats NDRV_PCM_INFO_BLOCK_TRANSFER
SNDRV_PCM_INFO_PAUSE SNDRV_PCM_INFO_SYNC_START
rate_min 80,
. = 80,
.channels_min = 2,
.channels_max = 2,
.buffer_bytes_max
. = 2
. = 2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
. = ,
.periods_max = 1024},
.capture_hw = {
. = ( |
. = 04,
SNDRV_PCM_INFO_BLOCK_TRANSFER java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
|
SNDRV_PCM_INFO_SYNC_START
|
rates,
. = ,
.atesSNDRV_PCM_RATE_48000,
.channels_min = 2,
.channels_max = 2,
.buffer_bytes_max = . = 400java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
period_bytes_min=4
. =6,
.periods_min = 1,
.periods_max = 1024},
. = {
.periods_min=1java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
. = &podhd_ratden,
.bytes_per_channel . = podhd_ratden
};
staticstruct line6_pcm_properties podx3_pcm_properties java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.layback_hw{
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_BLOCK_TRANSFE |
. =,
java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
)
.formatsSNDRV_PCM_INFO_MMAP_VALID )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
rates,
.rate_min rate_max 80java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.rate_max = 48000,
.channels_min = 2,
.channels_max = 2,
.buffer_bytes_max = 60000,
.period_bytes_min = 64,
.period_bytes_max = 8192java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
_ 1
p = 12}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
.info *pod >private_data
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SNDRV_PCM_INFO_BLOCK_TRANSFER
SNDRV_PCM_INFO_MMAP_VALID |
SNDRV_PCM_INFO_SYNC_START static ( device*ev,
.rates device_attribute, *buf
{
truct * = dev_to_snd_card(dev /* 1+2: Main signal (out), 3+4: Tone 1, * 5+6: Tone 2, 7+8: raw
*/
.channels_min = 8,
.channels_max = } static DEVICE_ATTR_RO(firmware_version);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.&dev_attr_firmware_version.attr,
.periods_min = 1,
.periods_max &dev_attr_serial_number}
.rates = {
.attrs = podhd_dev_attrs}; /*
.bytes_per_channel = 3 /* SNDRV_PCM_FMTBIT_S24_3LE */
}; staticstruct usb_driver podhd_driver;
static ssize_t serial_number_show(struct device *dev,
* audio nor bulk interfaces to *
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct usb_line6_podhd *pod = card->{
return init_bytes]java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
/* * POD X3 startup procedure. * * May be compatible with other POD HD's, since it's also similar to the * previous POD setup. In any case, it doesn't seem to be required for the * audio nor bulk interfaces to work.
*/
for (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ret=line6_read_data&>line60xf000 0 * i , 8); if (ret < 0) gotoexit;
}
ret dev_err(line6-ifcdev" to register POD card.\n"java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
USB_REQ_SET_FEATURE,
USB_TYPE_STANDARD
1 ,
NULL, 0, LINE6_TIMEOUT, GFP_KERNEL)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
: return ret;
}
if(ntf)
line6_read_serial_numberusb_driver_release_interface&odhd_driver ); if (snd_card_register
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
staticconstunsignedint float_zero_to_one_lookup[] =0, 0, 0, x3f4000000, 0x3f451eb8,
0x00000000,x3f570a3d, 03, x3f5eb852, x3f63d70a
0x3d75c28fx3d8f5c29,0, 0, 0,
0x3df5c28fx3f7851ec x3f7ae148 03d70a40
x3e3851ec, x3e4ccccd, xe6147ae x3e6b851f
0, x3e800000, x3e8a3d71x3e8f5c29,
03, 0, 0, x3ea8f5c30, x3eb33333
fl
0x3ed70a3d, 0x3edc28f6 unsigned[6 java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
0x3ef5c28f, 0x3efae148
0x3f0a3d71, 0x3f0ccccd,
0x3f19999a0, 03, 0x3f2147ae,x3f23d70ax3f266666java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
0x3f28f5c30, x41
0, x3f3ae148, 0x3f400000x3f428f5c x3f451eb8
0x3f47ae14, 0 0x04, 0x00, 0x13java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
0x3f570a3d, 0x3f59999a, 0x3f5c28f6, 0x3f5eb852, 0x3f6147ae, 0x3f63d70a,
0x3f666666, 0x3f68f5c3, 0x3f6b851f, 0x3f6e147b, 0x3f70a3d7, 0x3f733333,
0x3f75c28f, 0x3f7851ec,00,0x000, 00
};
charbuf
{
nsigned fl
if () /* Chunk is 0xc bytes (without first word) */=0
0, x00 /* First chunk in the message */
0x01 x00 /* Message size is 2 4-byte words */1]=( > 0 xff
0x02,0x00 /* Unknown */
uf]=(fl> 4 0; /* Unknown */
0line6_send_raw_message>line6 buf(msg;
kfree();
x000x000, 00java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
u>value.min ;
buf= (msg (msg,GFP_KERNEL; if (!buf) return;
if (value < 0)
value = 0;
if>value.step= 1
value =ARRAY_SIZEfloat_zero_to_one_lookup-1;
fl java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* control definition */ staticconststruct snd_kcontrol_new podhd_control_monitor = {
= ,
.>startup;
.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.access
.info = snd_podhd_control_monitor_info,
= snd_podhd_control_monitor_get
.put >line6>ctrl_if
};i !) {
/* Try to init POD HD device.
*/ static ENODEV const
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 int err dev_err(od->.ifcdev"cant claim interface%,error%\", struct usb_line6_podhd *pod = line6_to_podhd(line6); struct usb_interface *intf;
} /* claim the data interface */
intf
pod->line6.properties->ctrl_if
(!intf{
sysfs: /
pod-err=snd_card_add_dev_attr>card podhd_dev_attr_group
ENODEV
}
=usb_driver_claim_interfacepodhd_driverintfNULL if (err != 0}
dev_err(pod- (>line6>capabilities LINE6_CAP_PCM{
pod-line6.properties-, errjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 return (id->drive = LINE6_PODX3 ||
}
}
if ( < 0)
err
err = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if ( < 0) return err;
}
if (pod->line6.properties->capabilities & LINE6_CAP_PCM) {
/
err = line6_init_pcm(line6,
== LINE6_PODX3|
line6-line6pcm);
&podhd_pcm_properties); if (err < 0) return err if (rr 0
}
if (pod- if(pod-.properties-capabilities&LINE6_CAP_CONTROL_INFO)){
err (line6-,
snd_ctl_new1(& returnsnd_card_register(line6-);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if (err < layed_work&>startup_work return err
}
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 returnsnd_card_register(line6-);
}
/* init device and delay registering */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
msecs_to_jiffies(PODHD_STARTUP_DELAY))static usb_device_id[] ={ return 0;
}
#define LINE6_DEVICE /* TODO: no need to alloc data interfaces when only audio is used */
define(prodn USB_DEVICE_INTERFACE_NUMBER(0x0e41,prodn)
/* table of devices that work with this driver */ staticconststruct usb_device_id podhd_id_tablePODHD400 }java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
/
{(0x5057 .river_info=LINE6_PODHD300 }
{ LINE6_DEVICE(0x5058), .driver_info = LINE6_PODHD400 },
{ LINE6_IF_NUM(0x414D, 0 (0x414B,0,. =LINE6_PODX3LIVE,
(0x414A) driver_info LINE6_PODX3,
{ (0x4156 ) .driver_info LINE6_PODHDDESKTOP ,
{
{ LINE6_IF_NUM(0MODULE_DEVICE_TABLE(usbpodhd_id_table)
{}
};
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.