Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
- uses: actions/checkout@v4
- if: matrix.os == 'linux'
name: Install dependencies
run: sudo apt-get install libasound2-dev
run: |
sudo apt-get update
sudo apt-get install libasound2-dev
- name: Fetch Cmajor
run: |
scripts/fetch-cmajor.py ${{ matrix.cmajor_version }} ${{ matrix.os }} ${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ smallvec = { version = "1.11.1", features = ["serde"] }
thiserror = "2.0.3"

[dev-dependencies]
cpal = "0.16.0"
cpal = "0.17.3"
assert_no_alloc = "1.1.2"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion examples/hello_world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.build_output_stream(
&cpal::StreamConfig {
channels: 1,
sample_rate: cpal::SampleRate(SAMPLE_RATE as u32),
sample_rate: SAMPLE_RATE as u32,
buffer_size: cpal::BufferSize::Fixed(BLOCK_SIZE),
},
move |data: &mut [f32], _: &cpal::OutputCallbackInfo| {
Expand Down
Loading