File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed
Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ add_executable(audio_consumer
7878)
7979target_link_libraries (audio_consumer rt pthread )
8080
81- add_executable (audio_mon
82- examples/audio_mon .cpp
81+ add_executable (audiod-mon
82+ examples/audiod-mon .cpp
8383)
84- target_link_libraries (audio_mon rt pthread )
84+ target_link_libraries (audiod-mon rt pthread )
8585
8686# GNUInstallDirs for proper FHS-compliant paths
8787include (GNUInstallDirs )
@@ -92,7 +92,7 @@ install(TARGETS ws-audiod
9292)
9393
9494# Install example executables
95- install (TARGETS clip_client audio_consumer audio_mon
95+ install (TARGETS clip_client audio_consumer audiod-mon
9696 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
9797)
9898
Original file line number Diff line number Diff line change @@ -184,11 +184,11 @@ python3 examples/audio_client.py stream
184184
185185### Audio Monitor
186186
187- ` audio_mon ` provides a live terminal level meter with gain control:
187+ ` audiod-mon ` provides a live terminal level meter with gain control:
188188
189189``` bash
190- ./audio_mon # connect to default shm
191- ./audio_mon -s /ws_audiod_samples -S /run/ws-audiod/control.sock
190+ audiod-mon # connect to default shm
191+ audiod-mon -s /ws_audiod_samples -S /run/ws-audiod/control.sock
192192```
193193
194194Use ** UP/+** and ** DOWN/-** to adjust mic boost in 1 dB steps, ** q** to quit.
Original file line number Diff line number Diff line change 1- .TH AUDIO_MON 1 "March 2026" "1.0.0" "ws-audiod"
1+ .TH AUDIOD-MON 1 "March 2026" "1.0.0" "ws-audiod"
22.SH NAME
3- audio_mon \- real-time terminal audio monitor for ws\- audiod
3+ audiod-mon \- real-time terminal audio monitor for ws\- audiod
44.SH SYNOPSIS
5- .B audio_mon
5+ .B audiod-mon
66.RB [ \- s
77.IR shm_name ]
88.RB [ \- S
99.IR socket_path ]
1010.RB [ \- h ]
1111.SH DESCRIPTION
12- .B audio_mon
12+ .B audiod-mon
1313reads audio samples from the ws\- audiod shared memory region and displays
1414a live per-channel level meter in the terminal. It also allows adjusting the
1515daemon's mic boost (gain) via keyboard controls.
Original file line number Diff line number Diff line change 11debian/ws-audiod.1
22debian/clip_client.1
33debian/audio_consumer.1
4- debian/audio_mon .1
4+ debian/audiod-mon .1
Original file line number Diff line number Diff line change 1- // audio -mon: Real-time terminal audio monitor for ws-audiod
1+ // audiod -mon: Real-time terminal audio monitor for ws-audiod
22//
33// Reads audio from the daemon's shared memory and displays a live
44// level meter. Keyboard controls adjust mic boost via the control
55// socket.
66//
7- // Usage: audio -mon [options]
7+ // Usage: audiod -mon [options]
88// -s, --shm NAME Shared memory name (default: /ws_audiod_samples)
99// -S, --socket PATH Control socket path (default: /run/ws-audiod/control.sock)
1010// -h, --help Show help
@@ -222,7 +222,7 @@ int main(int argc, char* argv[]) {
222222
223223 // ── header ──────────────────────────────────────────────────────
224224 std::cout << " \033 [2J\033 [H" ; // clear screen
225- std::cout << " audio -mon — ws-audiod live monitor\n "
225+ std::cout << " audiod -mon - ws-audiod live monitor\n "
226226 << " " << sample_rate << " Hz / " << bits << " -bit / "
227227 << channels << " ch / " << period_frames << " frames\n "
228228 << " UP/DOWN or +/-: adjust gain q: quit\n " ;
You can’t perform that action at this time.
0 commit comments