Rename serve and node name to be more consistant
This commit is contained in:
parent
40681cdc1a
commit
a5597f80ac
3 changed files with 3 additions and 3 deletions
|
|
@ -16,4 +16,4 @@ target_link_libraries(${PROJECT_NAME} ${PIPEWIRE_LIBRARIES})
|
||||||
target_include_directories(${PROJECT_NAME} PUBLIC ${PIPEWIRE_INCLUDE_DIRS})
|
target_include_directories(${PROJECT_NAME} PUBLIC ${PIPEWIRE_INCLUDE_DIRS})
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-Wall -O2 -march=x86-64-v2 -g" LINK_FLAGS "-flto")
|
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-Wall -O2 -march=x86-64-v2 -g" LINK_FLAGS "-flto")
|
||||||
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
|
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pipewireaudiowatcher@.service DESTINATION /lib/systemd/user)
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pipewirestreamwatcher@.service DESTINATION /lib/systemd/user)
|
||||||
|
|
|
||||||
2
main.cpp
2
main.cpp
|
|
@ -232,7 +232,7 @@ static void setup_stream_listener(const char* serial, PwlPriv *priv)
|
||||||
|
|
||||||
priv->sink_stream = pw_stream_new_simple(
|
priv->sink_stream = pw_stream_new_simple(
|
||||||
pw_main_loop_get_loop(priv->loop),
|
pw_main_loop_get_loop(priv->loop),
|
||||||
"audio-capture",
|
"stream-watcher-capture",
|
||||||
props,
|
props,
|
||||||
&stream_events,
|
&stream_events,
|
||||||
priv);
|
priv);
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ After=network.target sound.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/stdbuf -oL /usr/bin/pipewirestreamwatcher -n %i
|
ExecStart=/usr/bin/stdbuf -oL /usr/bin/pipewirestreamwatcher -h 10.0.0.1 -n %i
|
||||||
ExitType=main
|
ExitType=main
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
Loading…
Add table
Add a link
Reference in a new issue