Skip to content

Commit

Permalink
examples renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Sep 22, 2024
1 parent 8acb5e5 commit b992466
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 60 deletions.
2 changes: 1 addition & 1 deletion examples/cpal-info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use cpal::traits::DeviceTrait;
mod example_utils;

/// Minimal example to explore the structure of the audio input samples we get
/// from cpal. This example does nothing with the beat detection library.
/// from cpal. This binary does nothing with the beat detection library.
fn main() {
let input_device = example_utils::select_audio_device();
let supported_configs = input_device
Expand Down
57 changes: 0 additions & 57 deletions examples/cpal-minimal.rs

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ fn main() {
panic!("{}", e);
});

// Limit to max ~60 fps update rate
window.limit_update_rate(Some(std::time::Duration::from_secs_f32(1.0 / 60.0)));
window.set_target_fps(60);

let handle = {
let rgb_buffer = rgb_buffer.clone();
Expand Down

0 comments on commit b992466

Please sign in to comment.