-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathplay.launch
More file actions
32 lines (30 loc) · 1.28 KB
/
play.launch
File metadata and controls
32 lines (30 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<launch>
<!-- arecord -l will show available input devices, use the car number as
the first number and the subdevice number as the second in a string
like hw:1,0 -->
<arg name="dst" default="alsasink"/>
<arg name="device" default=""/>
<arg name="do_timestamp" default="false"/>
<arg name="format" default="mp3"/>
<arg name="channels" default="1"/>
<arg name="depth" default="16"/>
<arg name="sample_rate" default="16000"/>
<arg name="sample_format" default="S16LE"/>
<arg name="ns" default="audio"/>
<arg name="audio_topic" default="audio" />
<arg name="play_volume" default="50"/>
<group ns="$(arg ns)">
<node name="audio_play" pkg="audio_play" type="audio_play" output="screen">
<remap from="audio" to="$(arg audio_topic)" />
<param name="dst" value="$(arg dst)"/>
<param name="device" value="$(arg device)"/>
<param name="do_timestamp" value="$(arg do_timestamp)"/>
<param name="format" value="$(arg format)"/>
<param name="channels" value="$(arg channels)"/>
<param name="depth" value="$(arg depth)"/>
<param name="sample_rate" value="$(arg sample_rate)"/>
<param name="sample_format" value="$(arg sample_format)"/>
<param name="play_volume" value="$(arg play_volume)"/>
</node>
</group>
</launch>