search for: set_channels

Displaying 20 results from an estimated 67 matches for "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-f...
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;4...
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_r...
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_r...
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, V...
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, V...
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 +1927...
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 +1927...
2006 Apr 28
1
mISDN: No DID/extension information returns busy to caller
I'm running a setup with chan_misdn on a austrian PTP-line. When somebody dials in without an extension, he gets a busy signal. I don't see the call at all in asterisk. I *have* set immediate=yes in misdn.conf. And I *do* have an s-extension in my dialplan for the context used by misdn. Calls that provide an extension work fine. Attached is my misdn.conf and a verbose 3, misdn set debug
2009 Feb 06
1
set caller id on outgoing calls through BRI ISDNlines
Use Set(CALLERID(num)=9999999999) instead of using CALLERID(all). Remember to set this BEFORE you Dial. -->> -----Original Message----- -->> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- -->> bounces at lists.digium.com] On Behalf Of Vieri -->> Sent: 06 February 2009 12:36 -->> To: asterisk-users at lists.digium.com -->>
2006 Jun 08
1
BN8S0 problem - Extension can never match, so disconnecting
hi i've configured a Beronet BN8S0 Card with misdn beronet utility. the card is configured with all lines in TE and P2P mode, and it is connected with the special cable with an ISDN connection. i'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:
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/dri...
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/dri...
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 = flacCom...
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(t...
2009 Feb 06
1
set caller id on outgoing calls through BRIISDNlines
You're quite right. We'll need to see your misdn.conf file to check the settings. -->> -----Original Message----- -->> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- -->> bounces at lists.digium.com] On Behalf Of Vieri -->> Sent: 06 February 2009 13:49 -->> To: asterisk-users at lists.digium.com -->> Subject:
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, }; sta...