Home
last modified time | relevance | path

Searched refs:new_vol (Results 1 – 25 of 104) sorted by relevance

12345

/dports/biology/sra-tools/sra-tools-2.11.0/scripts/
H A Dvolume-mgr.pl172 my $new_vol;
186 $new_vol = $_;
207 unless ( $new_vol ) {
212 unless ( -e "$new_root_path/$new_vol" ) {
221 sym_link ( "$new_root_path/$new_vol", $new_vol );
487 my $new_vol = "sra$i";
488 unless ( $volumes{$new_vol} ) {
502 return $new_vol;
505 return $new_vol;
646 my $vols = $new_vol;
[all …]
/dports/games/openttd/openttd-12.1/src/widgets/
H A Dslider.cpp58 byte new_vol = Clamp((pt.x - r.left - sw / 2) * 127 / (r.right - r.left - sw), 0, 127); in ClickVolumeSliderWidget() local
59 if (_current_text_dir == TD_RTL) new_vol = 127 - new_vol; in ClickVolumeSliderWidget()
61 if (new_vol != value) { in ClickVolumeSliderWidget()
62 value = new_vol; in ClickVolumeSliderWidget()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/librespot-playback-0.1.2/src/mixer/
H A Dalsamixer.rs27 let new_vol: u16; in map_volume() localVariable
35 new_vol = vol; in map_volume()
40 new_vol = (((cur_vol - min) as f64 / range) * 0xFFFF as f64) as u16; in map_volume()
41 debug!("Mapping volume {:?} <<- alsa {:?}", new_vol, cur_vol); in map_volume()
44 Ok(new_vol) in map_volume()
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/librespot-playback-0.1.1/src/mixer/
H A Dalsamixer.rs27 let new_vol: u16;
35 new_vol = vol;
40 new_vol = (((cur_vol - min) as f64 / range) * 0xFFFF as f64) as u16;
41 debug!("Mapping volume {:?} <<- alsa {:?}", new_vol, cur_vol);
44 Ok(new_vol)
/dports/science/py-nibabel/nibabel-3.2.1/doc/source/devel/
H A Dspm_use.rst159 >> new_vol = vol; % matlab always copies
160 >> new_vol.fname = new_fname;
161 >> spm_write_vol(new_vol, img_arr)
179 >> new_vol = struct();
180 >> new_vol.fname = 'yet_another_image.nii';
181 >> new_vol.dim = [91 109 91];
183 >> new_vol.mat = vol.mat;
184 >> new_vol.pinfo = [1 0 0]';
185 >> new_vol = spm_create_vol(new_vol);
186 >> for vox_z = 1:new_vol.dim(3)
[all …]
/dports/games/frotz/frotz-73eec90ebb159ed687b74cbaf81e135c3e7e390b/src/curses/
H A Dux_audio_oss.c129 int new_vol; in play_sound() local
131 new_vol = volume * 100 / 8; in play_sound()
132 new_vol = (new_vol << 8) | new_vol; in play_sound()
133 ioctl(mixer_fd, SOUND_MIXER_WRITE_VOLUME, &new_vol); in play_sound()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objtools/blast/seqdb_reader/
H A Dseqdbvolset.cpp113 CSeqDBVolEntry new_vol( new_volp ); in x_AddVolume() local
114 new_vol.SetStartAndEnd( num_oids ); in x_AddVolume()
115 m_VolList.push_back( new_vol ); in x_AddVolume()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objtools/blast/seqdb_reader/
H A Dseqdbvolset.cpp113 CSeqDBVolEntry new_vol( new_volp ); in x_AddVolume() local
114 new_vol.SetStartAndEnd( num_oids ); in x_AddVolume()
115 m_VolList.push_back( new_vol ); in x_AddVolume()
/dports/multimedia/librespot/librespot-0.1.3/playback/src/mixer/
H A Dalsamixer.rs99 let mut new_vol: u16 = 0; in map_volume() localVariable
168 new_vol = (((cur_vol - self.params.min) as f64 / self.params.range) * 0xFFFF as f64) in map_volume()
172 self.pvol(new_vol, 0x0000, 0xFFFF), in map_volume()
173 new_vol, in map_volume()
184 Ok(new_vol) in map_volume()
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/windows/
H A Dwinsapi.py63 new_vol = dv // 2 + 3
64 self.sapi.set_current_volume(new_vol)
65 self.assertEqual(self.sapi.get_current_volume(), new_vol)
/dports/sysutils/py-salt/salt-3004.1/tests/integration/modules/
H A Dtest_mac_desktop.py34 new_vol = self.run_function("desktop.set_output_volume", [str(to_set)])
36 self.assertEqual(new_vol, check_vol)
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/MINC/src/libminc/libsrc2/
H A Dgrpattr.c662 int micopy_attr ( mihandle_t vol, const char *path, mihandle_t new_vol ) in micopy_attr() argument
688 miset_attr_values ( new_vol, MI_TYPE_STRING, pathbuf, namebuf, length, valstr ); in micopy_attr()
692 miset_attr_values ( new_vol, MI_TYPE_STRING, pathbuf, namebuf, length+1, tmp_str ); in micopy_attr()
702 miset_attr_values ( new_vol, MI_TYPE_FLOAT, pathbuf, namebuf, 1, &valflt ); in micopy_attr()
706 miset_attr_values ( new_vol, MI_TYPE_FLOAT, pathbuf, namebuf, length, tmp ); in micopy_attr()
716 miset_attr_values ( new_vol, MI_TYPE_DOUBLE, pathbuf, namebuf, 1, &valdbl ); in micopy_attr()
720 miset_attr_values ( new_vol, MI_TYPE_DOUBLE, pathbuf, namebuf, length, tmp ); in micopy_attr()
730 miset_attr_values ( new_vol, MI_TYPE_INT, pathbuf, namebuf, 1, &vallng ); in micopy_attr()
734 miset_attr_values ( new_vol, MI_TYPE_INT, pathbuf, namebuf, length, tmp ); in micopy_attr()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/object/
H A Dobjectsnd.cpp324 int obj_snd_stop_lowest_vol(float new_vol) in obj_snd_stop_lowest_vol() argument
346 if ( (lowest_vol < new_vol) && (objp != NULL) ) { in obj_snd_stop_lowest_vol()
588 float max_vol,new_vol; in obj_snd_do_frame() local
593 new_vol = max_vol; in obj_snd_do_frame()
596 new_vol = max_vol - (distance - gs->min) * max_vol in obj_snd_do_frame()
600 if ( new_vol < 0.1f ) { in obj_snd_do_frame()
610 go_ahead_flag = obj_snd_stop_lowest_vol(new_vol); in obj_snd_do_frame()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/object/
H A Dobjectsnd.cpp332 int obj_snd_stop_lowest_vol(float new_vol) in obj_snd_stop_lowest_vol() argument
354 if ( (lowest_vol < new_vol) && (objp != NULL) ) { in obj_snd_stop_lowest_vol()
580 float max_vol,new_vol; in obj_snd_do_frame() local
585 new_vol = max_vol; in obj_snd_do_frame()
588new_vol = max_vol - (distance - Snds[osp->id].min) * max_vol / (Snds[osp->id].max - Snds[osp->id].… in obj_snd_do_frame()
591 if ( new_vol < 0.1 ) { in obj_snd_do_frame()
600 go_ahead_flag = obj_snd_stop_lowest_vol(new_vol); in obj_snd_do_frame()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/tools/geometry/
H A Dcgm2moab.cpp104 double old_vol = 0, new_vol = 0; in replace_surface() local
114 rval = get_signed_volume( mbi, new_surf, offset, new_vol ); in replace_surface()
117 if( std::fabs(old_vol) >= min_vol && std::fabs(new_vol) >= min_vol ){ in replace_surface()
134 if( (old_vol<0 && new_vol>0) || (old_vol>0 && new_vol<0) ) { in replace_surface()
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_tryptonaut/
H A DIdiot - 9-7-02.milk78 per_frame_15=react=if(equal(new_vol,change),1,0);
82 per_frame_19=new_vol=new_bass+new_treb+new_mid+.04;
87 per_frame_24=q4=new_vol;
H A DIdiot - 9-7-02 (Remix 2).milk78 per_frame_15=react=if(equal(new_vol,change),1,0);
82 per_frame_19=new_vol=new_bass+new_treb+new_mid+.04;
87 per_frame_24=q4=new_vol;
H A DKrash & Idiot - Memories Of The Castle.milk75 per_frame_12=new_vol=new_bass+new_treb+new_mid+.04;
80 per_frame_17=q4=new_vol;
/dports/graphics/libprojectm/projectm-3.1.12/presets/presets_bltc201/
H A DIdiot - 9-7-02.milk78 per_frame_15=react=if(equal(new_vol,change),1,0);
82 per_frame_19=new_vol=new_bass+new_treb+new_mid+.04;
87 per_frame_24=q4=new_vol;
H A DIdiot - 9-7-02 (Remix 2).milk78 per_frame_15=react=if(equal(new_vol,change),1,0);
82 per_frame_19=new_vol=new_bass+new_treb+new_mid+.04;
87 per_frame_24=q4=new_vol;
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/soc/sh/
H A Dsiu_dai.c390 u32 new_vol; in siu_dai_put_volume() local
401 new_vol = ucontrol->value.integer.value[0] | in siu_dai_put_volume()
409 siu_write32(base + SIU_SBDVCA, new_vol); in siu_dai_put_volume()
410 port_info->playback.volume = new_vol; in siu_dai_put_volume()
415 siu_write32(base + SIU_SBDVCB, new_vol); in siu_dai_put_volume()
416 port_info->capture.volume = new_vol; in siu_dai_put_volume()
424 if (cur_vol != new_vol) in siu_dai_put_volume()
/dports/multimedia/libv4l/linux-5.13-rc2/sound/soc/sh/
H A Dsiu_dai.c390 u32 new_vol; in siu_dai_put_volume() local
401 new_vol = ucontrol->value.integer.value[0] | in siu_dai_put_volume()
409 siu_write32(base + SIU_SBDVCA, new_vol); in siu_dai_put_volume()
410 port_info->playback.volume = new_vol; in siu_dai_put_volume()
415 siu_write32(base + SIU_SBDVCB, new_vol); in siu_dai_put_volume()
416 port_info->capture.volume = new_vol; in siu_dai_put_volume()
424 if (cur_vol != new_vol) in siu_dai_put_volume()
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/soc/sh/
H A Dsiu_dai.c390 u32 new_vol; in siu_dai_put_volume() local
401 new_vol = ucontrol->value.integer.value[0] | in siu_dai_put_volume()
409 siu_write32(base + SIU_SBDVCA, new_vol); in siu_dai_put_volume()
410 port_info->playback.volume = new_vol; in siu_dai_put_volume()
415 siu_write32(base + SIU_SBDVCB, new_vol); in siu_dai_put_volume()
416 port_info->capture.volume = new_vol; in siu_dai_put_volume()
424 if (cur_vol != new_vol) in siu_dai_put_volume()
/dports/audio/gqradio/gqradio-1.9.2/src/
H A Dmixer.c155 gint new_vol = 0x0000; in mixer_set_vol() local
177 new_vol = l * LEFT + r * RIGHT; in mixer_set_vol()
189 if(ioctl(mf, MIXER_WRITE(device->device_id), &new_vol)<0) in mixer_set_vol()
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/libprojectm/presets/
H A DKrash & Idiot - Memories Of The Castle.milk75 per_frame_12=new_vol=new_bass+new_treb+new_mid+.04;
80 per_frame_17=q4=new_vol;

12345