Skip to content

Commit f95f9c8

Browse files
authored
Merge pull request #238 from Kanazawanaoaki/add-record-to-file-launch
2 parents 836aa62 + 5c83237 commit f95f9c8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<launch>
2+
<arg name="dst" default="/tmp/output_audio.mp3"/>
3+
<arg name="device" default=""/>
4+
<arg name="do_timestamp" default="false"/>
5+
<arg name="format" default="mp3"/>
6+
<arg name="channels" default="1"/>
7+
<arg name="depth" default="16"/>
8+
<arg name="sample_rate" default="16000"/>
9+
<arg name="sample_format" default="S16LE"/>
10+
<arg name="ns" default="audio"/>
11+
<arg name="audio_topic" default="audio" />
12+
13+
<include file="$(find audio_play)/launch/play.launch">
14+
<arg name="dst" value="$(arg dst)"/>
15+
<arg name="device" value="$(arg device)"/>
16+
<arg name="do_timestamp" value="$(arg do_timestamp)"/>
17+
<arg name="format" value="$(arg format)"/>
18+
<arg name="channels" value="$(arg channels)"/>
19+
<arg name="depth" value="$(arg depth)"/>
20+
<arg name="sample_rate" value="$(arg sample_rate)"/>
21+
<arg name="sample_format" value="$(arg sample_format)"/>
22+
<arg name="ns" value="$(arg ns)"/>
23+
<arg name="audio_topic" value="$(arg audio_topic)" />
24+
</include>
25+
</launch>

0 commit comments

Comments
 (0)