Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tehforsch/striputary
/ functions
Functions
173 in github.com/Tehforsch/striputary
⨍
Functions
173
◇
Types & classes
30
↓ 7 callers
Method
enumerate
(&self)
src/gui/session_manager.rs:95
↓ 6 callers
Method
next
(&mut self)
src/audio_excerpt.rs:119
↓ 5 callers
Method
add
(self, rhs: AudioTime)
src/audio_time.rs:51
↓ 5 callers
Function
add_metadata_arg_if_present
( command: &mut Command, get_str: fn(&T) -> String, val: Option<&T>, )
src/cut.rs:146
↓ 5 callers
Method
get_buffer_file
(&self)
src/run_args.rs:28
↓ 4 callers
Function
dbus_set_playback_status_command
( service_config: &ServiceConfig, command: &str, )
src/recording/dbus.rs:153
↓ 4 callers
Function
run_command_and_assert_success
(command: &mut Command)
src/recording/recorder.rs:20
↓ 3 callers
Method
is_running
(&self)
src/recording/recording_thread_handle_status.rs:45
↓ 3 callers
Method
load_selected_session
(&mut self)
src/gui/mod.rs:152
↓ 3 callers
Function
sanitize_or_default
(s: &Option<String>, default: &str)
src/song.rs:57
↓ 2 callers
Method
add_large_button
(&self, ui: &mut Ui, name: &str)
src/gui/mod.rs:170
↓ 2 callers
Function
add_plot_label
(ui: &mut Ui, song: Option<&Song>, finished_cutting: bool)
src/gui/mod.rs:385
↓ 2 callers
Method
get_currently_selected
(&self)
src/gui/session_manager.rs:64
↓ 2 callers
Method
get_data
(&self)
src/data_stream.rs:24
↓ 2 callers
Function
get_dirs
(dir: &Path)
src/gui/session_manager.rs:120
↓ 2 callers
Function
get_excerpt
(buffer_file_name: &Path, cut_time: f64)
src/cut.rs:53
↓ 2 callers
Method
get_line_color
(&self, finished_cutting: bool)
src/gui/plot.rs:45
↓ 2 callers
Method
get_relative_time
(&self, absolute_time: AudioTime)
src/audio_excerpt.rs:68
↓ 2 callers
Method
get_sample_times
(&self)
src/audio_excerpt.rs:41
↓ 2 callers
Method
get_volume_at
(&self, time_f64: f64)
src/audio_excerpt.rs:19
↓ 2 callers
Function
previous_song
(service_config: &ServiceConfig)
src/recording/dbus.rs:167
↓ 2 callers
Method
save
(&self)
src/recording_session.rs:45
↓ 2 callers
Method
scroll
(&mut self, diff: i32)
src/gui/mod.rs:159
↓ 2 callers
Function
start_playback
(service_config: &ServiceConfig)
src/recording/dbus.rs:175
↓ 2 callers
Method
update
(&mut self, ctx: &egui::Context, _: &mut Frame)
src/gui/mod.rs:364
↓ 1 callers
Method
add_central_panel
(&mut self, ctx: &egui::Context)
src/gui/mod.rs:294
↓ 1 callers
Method
add_dir_selection_bar
(&mut self, ui: &mut Ui)
src/gui/mod.rs:190
↓ 1 callers
Method
add_labels_for_recorded_songs
(&self, ui: &mut Ui)
src/gui/mod.rs:234
↓ 1 callers
Method
add_new_song
(&self, song: Song)
src/recording/recording_thread.rs:140
↓ 1 callers
Method
add_record_button
(&mut self, ui: &mut Ui)
src/gui/mod.rs:222
↓ 1 callers
Method
add_record_button_or_error_message
(&mut self, ui: &mut Ui)
src/gui/mod.rs:213
↓ 1 callers
Method
add_recording_thread_error_message
(&self, ui: &mut Ui, error: &anyhow::Error)
src/gui/mod.rs:229
↓ 1 callers
Method
add_side_panel
(&mut self, ctx: &egui::Context)
src/gui/mod.rs:177
↓ 1 callers
Function
average
(values: &VecDeque<f64>)
src/ogg.rs:9
↓ 1 callers
Function
check_sink_exists
()
src/recording/recorder.rs:80
↓ 1 callers
Method
check_still_running
(&self)
src/recording/recording_thread_handle.rs:44
↓ 1 callers
Function
collect_dbus_info
Collect dbus information on the songs. We could collect the dbus timestamps but they are basically useless for cutting the songs since they fluctuate
src/recording/dbus.rs:23
↓ 1 callers
Function
create_monitor_sink
()
src/recording/recorder.rs:125
↓ 1 callers
Function
create_sink
(sink_type: SinkType)
src/recording/recorder.rs:105
↓ 1 callers
Function
cut_song
(info: &CutInfo)
src/cut.rs:156
↓ 1 callers
Method
cut_songs
(&self)
src/gui/mod.rs:79
↓ 1 callers
Method
cutting_loop
(&mut self)
src/gui/cutting_thread.rs:19
↓ 1 callers
Function
determine_cut_offset
(audio_excerpts: &[AudioExcerpt], cut_timestamps: &[f64])
src/cut.rs:73
↓ 1 callers
Method
enumerate_visible_plots
( &self, num_shown: i32, )
src/gui/mod.rs:242
↓ 1 callers
Function
expanduser
(path: &Path)
src/config_file.rs:41
↓ 1 callers
Function
extract_audio
( file_path: &Path, start_time: f64, end_time: f64, )
src/wav.rs:14
↓ 1 callers
Method
final_buffer_phase
(&self)
src/recording/recording_thread.rs:144
↓ 1 callers
Function
format_album
(album: &Option<String>)
src/song.rs:68
↓ 1 callers
Function
format_artist
(artist: &Option<String>)
src/song.rs:72
↓ 1 callers
Function
format_title
(title: &Option<String>)
src/song.rs:64
↓ 1 callers
Method
get_absolute_time_by_relative_progress
(&self, pos: f64)
src/audio_excerpt.rs:57
↓ 1 callers
Method
get_absolute_time_from_time_offset
(&self, time_offset: f64)
src/audio_excerpt.rs:77
↓ 1 callers
Method
get_album_folder
(&self, music_dir: &Path)
src/song.rs:28
↓ 1 callers
Function
get_all_valid_excerpts_and_songs
(session: &RecordingSession)
src/cut.rs:125
↓ 1 callers
Method
get_currently_selected_collection
(&self)
src/gui/session_manager.rs:71
↓ 1 callers
Method
get_cut_info
(&self, collection: &ExcerptCollection)
src/gui/mod.rs:89
↓ 1 callers
Method
get_cut_songs
(&mut self)
src/gui/cutting_thread.rs:65
↓ 1 callers
Function
get_cut_timestamps_from_song_lengths
( songs: &[Song], estimated_time_first_song: f64, )
src/cut.rs:59
↓ 1 callers
Method
get_data_mut
(&mut self)
src/data_stream.rs:28
↓ 1 callers
Method
get_elapsed_audio_time
(&self)
src/gui/playback.rs:25
↓ 1 callers
Function
get_entries_with_predicate
( folder: &Path, predicate: F, )
src/util.rs:5
↓ 1 callers
Function
get_entries_with_predicate
(dir: &Path, predicate: F)
src/gui/session_manager.rs:103
↓ 1 callers
Function
get_excerpt_collection
(session: RecordingSession)
src/cut.rs:100
↓ 1 callers
Function
get_instance_of_service
For some mpris services, the name is not constant but changes depending on the instance id running. Here, we get a list of all available services and
src/recording/dbus.rs:188
↓ 1 callers
Function
get_label_color
(finished_cutting: bool)
src/gui/mod.rs:378
↓ 1 callers
Method
get_lines
(&self)
src/gui/plot.rs:30
↓ 1 callers
Method
get_music_dir
(&self)
src/recording_session.rs:38
↓ 1 callers
Function
get_new_name
(output_dir: &Path)
src/gui/session_manager.rs:124
↓ 1 callers
Method
get_plots
(&self, collection: &ExcerptCollection)
src/gui/mod.rs:347
↓ 1 callers
Method
get_relative_progress_from_time_offset
(&self, time_offset: f64)
src/audio_excerpt.rs:72
↓ 1 callers
Method
get_result
(self)
src/recording/recording_thread_handle.rs:48
↓ 1 callers
Method
get_run_args
(&self)
src/gui/mod.rs:138
↓ 1 callers
Function
get_sink_index_from_pacmd_output_capture
(capture: &Captures)
src/recording/recorder.rs:166
↓ 1 callers
Function
get_sink_input_index
(service_config: &ServiceConfig)
src/recording/recorder.rs:145
↓ 1 callers
Function
get_sink_source_name_from_pacmd_output_capture
(capture: &'a Captures)
src/recording/recorder.rs:173
↓ 1 callers
Function
get_song_album
(metadata: &MetadataDict)
src/recording/dbus.rs:110
↓ 1 callers
Function
get_song_artist
(metadata: &MetadataDict)
src/recording/dbus.rs:92
↓ 1 callers
Function
get_song_from_dbus_properties
(properties: PC)
src/recording/dbus.rs:134
↓ 1 callers
Function
get_song_length
(metadata: &MetadataDict)
src/recording/dbus.rs:78
↓ 1 callers
Function
get_song_title
(metadata: &MetadataDict)
src/recording/dbus.rs:116
↓ 1 callers
Function
get_song_track_number
(metadata: &MetadataDict)
src/recording/dbus.rs:120
↓ 1 callers
Method
get_songs
(&self)
src/recording/recording_thread_handle_status.rs:52
↓ 1 callers
Method
get_target_file
(&self, music_dir: &Path, num_in_recording: usize)
src/song.rs:18
↓ 1 callers
Method
get_volume_plot_data
(&self)
src/audio_excerpt.rs:49
↓ 1 callers
Method
get_yaml_file
(&self)
src/run_args.rs:24
↓ 1 callers
Function
handle_dbus_properties_changed_signal
( session: &mut RecordingSession, properties: PC, )
src/recording/dbus.rs:42
↓ 1 callers
Method
handle_playback_markers
(&mut self)
src/gui/mod.rs:333
↓ 1 callers
Method
hide_playback_marker
(&mut self)
src/gui/plot.rs:56
↓ 1 callers
Method
initial_buffer_phase
(&self)
src/recording/recording_thread.rs:83
↓ 1 callers
Method
internal_record_new_session
(&self)
src/recording/recording_thread.rs:52
↓ 1 callers
Method
is_currently_selected
(&self, identifier: &SessionIdentifier)
src/gui/session_manager.rs:58
↓ 1 callers
Function
is_playback_stopped
(properties: &PC)
src/recording/dbus.rs:68
↓ 1 callers
Function
is_valid_song
This filters certain malformed entries that some mpris services will send, which contain a track length of zero, and should not be considered actual s
src/recording/dbus.rs:130
↓ 1 callers
Function
iter_dirs
(dir: &Path)
src/gui/session_manager.rs:116
↓ 1 callers
Function
iter_folders
(folder: &Path)
src/util.rs:21
↓ 1 callers
Method
iter_relative_paths_with_indices
( &self, )
src/gui/session_manager.rs:86
↓ 1 callers
Method
keyboard_control
(&mut self, ctx: &egui::Context)
src/gui/mod.rs:321
↓ 1 callers
Method
mark_cut
(&mut self, song: &Song)
src/gui/plot.rs:60
↓ 1 callers
Method
mark_cut_songs
(&mut self)
src/gui/mod.rs:105
↓ 1 callers
Method
move_all_markers_after
(&mut self, clicked_song: SongIdentifier, offset: AudioTime)
src/gui/mod.rs:255
next →
1–100 of 173, ranked by callers