/dports/biology/sra-tools/sra-tools-2.11.0/scripts/ |
H A D | volume-mgr.pl | 172 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 D | slider.cpp | 58 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 D | alsamixer.rs | 27 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 D | alsamixer.rs | 27 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 D | spm_use.rst | 159 >> 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 D | ux_audio_oss.c | 129 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 D | seqdbvolset.cpp | 113 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 D | seqdbvolset.cpp | 113 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 D | alsamixer.rs | 99 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 D | winsapi.py | 63 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 D | test_mac_desktop.py | 34 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 D | grpattr.c | 662 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 D | objectsnd.cpp | 324 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 D | objectsnd.cpp | 332 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() 588 …new_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 D | cgm2moab.cpp | 104 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 D | Idiot - 9-7-02.milk | 78 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 D | Idiot - 9-7-02 (Remix 2).milk | 78 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 D | Krash & Idiot - Memories Of The Castle.milk | 75 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 D | Idiot - 9-7-02.milk | 78 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 D | Idiot - 9-7-02 (Remix 2).milk | 78 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 D | siu_dai.c | 390 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 D | siu_dai.c | 390 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 D | siu_dai.c | 390 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 D | mixer.c | 155 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 D | Krash & Idiot - Memories Of The Castle.milk | 75 per_frame_12=new_vol=new_bass+new_treb+new_mid+.04; 80 per_frame_17=q4=new_vol;
|