search for: set_channel

Displaying 20 results from an estimated 67 matches for "set_channel".

Did you mean: set_channels
2006 Jul 05
2
How do I access the session in a rails plugin?
I''m trying to access the session in a rails plugin, so as to set it as below. 1. module Juggernaut 2. 3. def self.set_channels(chan) 4. session[:juggernaut_channels] = chan 5. end 6. end 7. 8. module ActionController 9. class Base 10. include Juggernaut 11. end 12. end At the moment I get: undefined local variable or method `session'' for Juggernaut:Module -- Posted via http://www.ruby-...
2023 Jul 27
1
[PATCH net-next v4 2/2] virtio-net: add cond_resched() to the command waiting loop
...if they do they can always set this flag too. > > This may have false negatives and may confuse the management. > > Maybe we can extend the networking core to allow some device specific > configurations to be done with device specific lock without rtnl. For > example, split the set_channels to > > pre_set_channels > set_channels > post_set_channels > > The device specific part could be done in pre and post without a rtnl lock? > > Thanks Would the benefit be that errors can be reported to userspace then? Then maybe. I think you will have to show how this...
2009 Jan 11
2
hdmi an console dsp
...RROR^[[0;37;40m[23546]: ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m366^[[0;37;40m ^[[1;37;40malsa_card_init^[[0;37;40m: snd_pcm_open failed: No [Jan 10 18:56:53] ^[[31;40mERROR^[[0;37;40m[23546]: ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m385^[[0;37;40m ^[[1;37;40malsa_card_init^[[0;37;40m: set_channels failed: Inv [Jan 10 18:56:53] ^[[1;31;40mWARNING^[[0;37;40m[23546]: ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m390^[[0;37;40m ^[[1;37;40malsa_card_init^[[0;37;40m: Rate not correct, re [Jan 10 18:56:53] ^[[31;40mERROR^[[0;37;40m[23546]: ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m484^[[0;37;...
2006 Sep 06
2
Getting subframe type=verbatim on 16 bit files
...asted_bits=0 type=VERBATIM ....... Any idea why/ where I have goofed? Thanks, James Code snippet: =================================================== FlacEncoder flacCompressor; bool setValue = false; // set up regular parameters setValue = flacCompressor.set_channels (numChannels); setValue = flacCompressor.set_bits_per_sample (bitsPerSample); setValue = flacCompressor.set_sample_rate (sampleRate); setValue = flacCompressor.set_blocksize(4608); setValue = flacCompressor.set_qlp_coeff_precision (0); setValue = flacCompressor.set_min_residual...
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...tdev_priv(dev); + + vi->speed = SPEED_UNKNOWN; + vi->duplex = DUPLEX_UNKNOWN; +} + static const struct ethtool_ops virtnet_ethtool_ops = { .get_drvinfo = virtnet_get_drvinfo, .get_link = ethtool_op_get_link, @@ -1383,6 +1453,8 @@ static const struct ethtool_ops virtnet_ethtool_ops = { .set_channels = virtnet_set_channels, .get_channels = virtnet_get_channels, .get_ts_info = ethtool_op_get_ts_info, + .get_settings = virtnet_get_settings, + .set_settings = virtnet_set_settings, }; #define MIN_MTU 68 @@ -1855,6 +1927,8 @@ static int virtnet_probe(struct virtio_device *vdev) netif_set_...
2016 Feb 02
4
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...tdev_priv(dev); + + vi->speed = SPEED_UNKNOWN; + vi->duplex = DUPLEX_UNKNOWN; +} + static const struct ethtool_ops virtnet_ethtool_ops = { .get_drvinfo = virtnet_get_drvinfo, .get_link = ethtool_op_get_link, @@ -1383,6 +1453,8 @@ static const struct ethtool_ops virtnet_ethtool_ops = { .set_channels = virtnet_set_channels, .get_channels = virtnet_get_channels, .get_ts_info = ethtool_op_get_ts_info, + .get_settings = virtnet_get_settings, + .set_settings = virtnet_set_settings, }; #define MIN_MTU 68 @@ -1855,6 +1927,8 @@ static int virtnet_probe(struct virtio_device *vdev) netif_set_...
2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...+ ec->tx_max_coalesced_frames_irq = vi->tx_work_limit; > + > + return 0; > +} > + > static const struct ethtool_ops virtnet_ethtool_ops = { > .get_drvinfo = virtnet_get_drvinfo, > .get_link = ethtool_op_get_link, > .get_ringparam = virtnet_get_ringparam, > .set_channels = virtnet_set_channels, > .get_channels = virtnet_get_channels, > + .set_coalesce = virtnet_set_coalesce, > + .get_coalesce = virtnet_get_coalesce, > }; > > #define MIN_MTU 68 > @@ -2048,6 +2114,7 @@ static unsigned int features[] = { > VIRTIO_NET_F_GUEST_ANNOUNCE,...
2015 Feb 10
4
[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support
...+ ec->tx_max_coalesced_frames_irq = vi->tx_work_limit; > + > + return 0; > +} > + > static const struct ethtool_ops virtnet_ethtool_ops = { > .get_drvinfo = virtnet_get_drvinfo, > .get_link = ethtool_op_get_link, > .get_ringparam = virtnet_get_ringparam, > .set_channels = virtnet_set_channels, > .get_channels = virtnet_get_channels, > + .set_coalesce = virtnet_set_coalesce, > + .get_coalesce = virtnet_get_coalesce, > }; > > #define MIN_MTU 68 > @@ -2048,6 +2114,7 @@ static unsigned int features[] = { > VIRTIO_NET_F_GUEST_ANNOUNCE,...
2006 Mar 15
4
misdn problem
I am trying to use misdn insted of zaphfc to drive two billion isdn cards zaphfc is ok, but the problem with cdr and the fact tha you always have to wait the bristuffed version of asterisk took me to try another way. so I downloaded the misdn installation script from beronet for the last version ( I am using asterisk stable 1.2, so now is 1.2.5) wget
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...ex = DUPLEX_UNKNOWN; >> +} >> + >> static const struct ethtool_ops virtnet_ethtool_ops = { >> .get_drvinfo = virtnet_get_drvinfo, >> .get_link = ethtool_op_get_link, >> @@ -1383,6 +1453,8 @@ static const struct ethtool_ops virtnet_ethtool_ops = { >> .set_channels = virtnet_set_channels, >> .get_channels = virtnet_get_channels, >> .get_ts_info = ethtool_op_get_ts_info, >> + .get_settings = virtnet_get_settings, >> + .set_settings = virtnet_set_settings, >> }; >> >> #define MIN_MTU 68 >> @@ -1855,6 +192...
2016 Feb 02
1
[PATCH net-next] virtio_net: add ethtool support for set and get of settings
...ex = DUPLEX_UNKNOWN; >> +} >> + >> static const struct ethtool_ops virtnet_ethtool_ops = { >> .get_drvinfo = virtnet_get_drvinfo, >> .get_link = ethtool_op_get_link, >> @@ -1383,6 +1453,8 @@ static const struct ethtool_ops virtnet_ethtool_ops = { >> .set_channels = virtnet_set_channels, >> .get_channels = virtnet_get_channels, >> .get_ts_info = ethtool_op_get_ts_info, >> + .get_settings = virtnet_get_settings, >> + .set_settings = virtnet_set_settings, >> }; >> >> #define MIN_MTU 68 >> @@ -1855,6 +192...
2006 Apr 28
1
mISDN: No DID/extension information returns busy to caller
...; pres:0 P[ 1] --> channel:0 caps:Speech pi:0 keypad: P[ 1] --> urate:0 rate:16 mode:0 user1:0 P[ 1] --> pid:0 addr:50010101 l3id:30074 P[ 1] --> b_stid:0 layer_id:50010180 P[ 1] --> new_l3id 30075 P[ 1] --> * SEND: State Dialing pid:276 -- Called 1/10030224326465/n P[ 1] set_channel: bc->channel:1 channel:1 P[ 1] --> TRANSPARENT Mode (no DSP, no HDLC) P[ 1] I IND :SETUP_ACKNOWLEDGE oad:16 dad:10030224326465 P[ 1] --> mode:TE cause:16 ocause:16 rad: P[ 1] --> facility:FAC_NONE out_facility:FAC_NONE P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 P[ 1] -...
2009 Feb 06
1
set caller id on outgoing calls through BRI ISDNlines
...t;> P[ 1] --> new_l3id 95bfd -->> P[ 1] --> * SEND: State Dialing pid:2626 -->> -- Called g:ISDN_GROUP/6666666666 -->> P[ 1] Sending msg, prim:30580 addr:41000104 dinfo:95bfd -->> P[ 1] handle_frm: frm->addr:42000103 frm->prim:30282 -->> P[ 1] set_channel: bc->channel:1 channel:1 -->> P[ 1] $$$ Setting up bc with stid :10010100 -->> P[ 1] setup_bc: with dsp -->> P[ 1] --> Channel is 1 -->> P[ 1] --> TRANSPARENT Mode -->> P[ 1] $$$ Bchan Activated addr 50010102 -->> P[ 1] BC_STATE_CHANGE: l3id:95bf...
2006 Jun 08
1
BN8S0 problem - Extension can never match, so disconnecting
...9;ve turned on debugging to level 4, this is the output from the asterisk cli when i receive a call: P[ 5] MGMT: Short status dinfo 1000001 P[ 5] MGMT: SSTATUS: L1_ACTIVATED P[ 5] handle_frm: frm->addr:42000503 frm->prim:3f082 P[ 5] handle_frm: frm->addr:42000503 frm->prim:30582 P[ 5] set_channel: bc->channel:0 channel:1 P[ 5] I IND :SETUP oad:4656708 dad:465670127 P[ 5] --> mode:TE cause:16 ocause:16 rad: cad: P[ 5] --> facility:FAC_NONE out_facility:FAC_NONE P[ 5] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 5] --> screen:0 --> pres:0 P[ 5] -->...
2013 Jan 11
2
[PATCH V4 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive
...v at vger.kernel.org Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- V3->V4: move vq_index into virtnet_info (Jason) change the mapping value when not setting affinity (Jason) address the comments about select_queue (Rusty) Not Addressed yet: race between select_queue and set_channels need discuss more but not the same problem with this (Rusty) drivers/net/virtio_net.c | 53 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 11 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index a6fcf15..ca17a58 100644 --- a/dr...
2013 Jan 11
2
[PATCH V4 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive
...v at vger.kernel.org Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- V3->V4: move vq_index into virtnet_info (Jason) change the mapping value when not setting affinity (Jason) address the comments about select_queue (Rusty) Not Addressed yet: race between select_queue and set_channels need discuss more but not the same problem with this (Rusty) drivers/net/virtio_net.c | 53 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 11 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index a6fcf15..ca17a58 100644 --- a/dr...
2006 Sep 06
0
Getting subframe type=verbatim on 16 bit files
...goofed? > > Thanks, > > James > > > Code snippet: > =================================================== > FlacEncoder flacCompressor; > bool setValue = false; > > // set up regular parameters > setValue = flacCompressor.set_channels (numChannels); > setValue = flacCompressor.set_bits_per_sample (bitsPerSample); > setValue = flacCompressor.set_sample_rate (sampleRate); > setValue = flacCompressor.set_blocksize(4608); > setValue = flacCompressor.set_qlp_coeff_precision (0); > setValue = flacCo...
2011 Sep 28
0
FLAC::Encoder::Stream == "FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA"
...4; //2 * (16 / 8); 2 channels * (16 bits / 8) bytes unsigned int samples_per_sector = disc.getBytesPerSector(trackNum) / sample_size / 2 /*channels*/; unsigned int total_samples = trackLength * samples_per_sector; // compress ok &= enc.set_verify(true); ok &= enc.set_channels ( 2); // 2 channels ok &= enc.set_bits_per_sample( 16); // 16 bits ok &= enc.set_sample_rate (44100); // 44.100 Hz ok &= enc.set_compression_level((FCompressionStrength > 8) ? 8 : FCompressionStrength); ok &= enc.set_total_samples_estimate(...
2009 Feb 06
1
set caller id on outgoing calls through BRIISDNlines
...; > -->> -- Called g:ISDN_GROUP/6666666666 -->> > -->> P[ 1] Sending msg, prim:30580 addr:41000104 -->> > dinfo:95bfd -->> > -->> P[ 1] handle_frm: frm->addr:42000103 -->> > frm->prim:30282 -->> > -->> P[ 1] set_channel: bc->channel:1 channel:1 -->> > -->> P[ 1] $$$ Setting up bc with stid :10010100 -->> > -->> P[ 1] setup_bc: with dsp -->> > -->> P[ 1] --> Channel is 1 -->> > -->> P[ 1] --> TRANSPARENT Mode -->> > -->>...
2017 Mar 21
0
[PATCH] net: virtio_net: use new api ethtool_{get|set}_link_ksettings
...ed_set(cmd, vi->speed); - cmd->duplex = vi->duplex; - cmd->port = PORT_OTHER; + cmd->base.speed = vi->speed; + cmd->base.duplex = vi->duplex; + cmd->base.port = PORT_OTHER; return 0; } @@ -1696,8 +1706,8 @@ static void virtnet_init_settings(struct net_device *dev) .set_channels = virtnet_set_channels, .get_channels = virtnet_get_channels, .get_ts_info = ethtool_op_get_ts_info, - .get_settings = virtnet_get_settings, - .set_settings = virtnet_set_settings, + .get_link_ksettings = virtnet_get_link_ksettings, + .set_link_ksettings = virtnet_set_link_ksettings, }; st...