Skip to content

Commit cf1bc13

Browse files
committed
Hot fix 4 Ubuntu 26.04: num of SoX drivers exceeds 256
1 parent f37b5b9 commit cf1bc13

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
include:
40+
- script: linux-x86_64/ubuntu-26.04
41+
image: rocstreaming/env-ubuntu:26.04
42+
4043
- script: linux-x86_64/ubuntu-24.04
4144
image: rocstreaming/env-ubuntu:24.04
4245

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -euxo pipefail
4+
5+
for comp in gcc-15 clang-21
6+
do
7+
scons -Q \
8+
--enable-werror \
9+
--enable-tests \
10+
--enable-benchmarks \
11+
--enable-examples \
12+
--build-3rdparty=openfec \
13+
--compiler=${comp} \
14+
test
15+
done

src/internal_modules/roc_sndio/driver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace sndio {
2121
class IBackend;
2222

2323
//! Maximum number of drivers.
24-
static const size_t MaxDrivers = 256;
24+
static const size_t MaxDrivers = 512;
2525

2626
//! Driver type.
2727
enum DriverType {

0 commit comments

Comments
 (0)