Skip to content

Commit f9418d4

Browse files
committed
git subrepo clone git@github.com:ros-drivers/audio_common.git src/lib/
subrepo: subdir: "src/lib" merged: "6a8499665" upstream: origin: "git@github.com:ros-drivers/audio_common.git" branch: "master" commit: "6a8499665" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo" commit: "ea10886"
1 parent 47da9a5 commit f9418d4

73 files changed

Lines changed: 4788 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/lib/.github/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
github-action:
2+
- .github/**/*
3+
audio_capture:
4+
- audio_capture/**/*
5+
audio_common:
6+
- audio_common/**/*
7+
audio_common_msgs:
8+
- audio_common_msgs/**/*
9+
audio_play:
10+
- audio_play/**/*
11+
sound_play:
12+
- sound_play/**/*
13+
readme:
14+
- REAEME.md
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
triage:
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/labeler@v3
16+
with:
17+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

src/lib/.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ROS1 CI
2+
on:
3+
push:
4+
pull_request:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
jobs:
8+
industrial_ci:
9+
strategy:
10+
matrix:
11+
env:
12+
- ROS_DISTRO: melodic
13+
ROS_REPO: testing
14+
CMAKE_ARGS: '-DCMAKE_BUILD_TYPE=Debug'
15+
- ROS_DISTRO: melodic
16+
ROS_REPO: testing
17+
CMAKE_ARGS: '-DCMAKE_BUILD_TYPE=Release'
18+
- ROS_DISTRO: noetic
19+
ROS_REPO: testing
20+
CMAKE_ARGS: '-DCMAKE_BUILD_TYPE=Debug'
21+
- ROS_DISTRO: noetic
22+
ROS_REPO: testing
23+
CMAKE_ARGS: '-DCMAKE_BUILD_TYPE=Release'
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v1
27+
- uses: 'ros-industrial/industrial_ci@master'
28+
env: ${{matrix.env}}

src/lib/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pyc

src/lib/.gitrepo

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
; DO NOT EDIT (unless you know what you are doing)
2+
;
3+
; This subdirectory is a git "subrepo", and this file is maintained by the
4+
; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme
5+
;
6+
[subrepo]
7+
remote = git@github.com:ros-drivers/audio_common.git
8+
branch = master
9+
commit = 6a84996653eada328f6ea7b14e1804e9876aa3af
10+
parent = 47da9a5c909072613a4b43ac0ff2f2368e4d2048
11+
method = merge
12+
cmdver = 0.4.9

src/lib/LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2009, Willow Garage, Inc.
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
3. Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

src/lib/README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ROS audio\_common Package
2+
3+
[![ROS1 CI](https://github.com/ros-drivers/audio_common/actions/workflows/main.yml/badge.svg)](https://github.com/ros-drivers/audio_common/actions/workflows/main.yml)
4+
[![ROS2 CI](https://github.com/ros-drivers/audio_common/actions/workflows/ros2.yml/badge.svg)](https://github.com/ros-drivers/audio_common/actions/workflows/ros2.yml)
5+
6+
This repository contains the ROS audio\_common package.
7+
8+
For user documentation, please refer to the [ROS Wiki page for audio\_common](http://wiki.ros.org/audio_common)
9+
10+
## Deb Build Status
11+
12+
| Package | Melodic (Bionic) | Noetic (Focal) | Noetic (Buster) |
13+
|:---------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
14+
| audio_common (arm64) | [![Build Status](http://build.ros.org/job/Mbin_ubv8_uBv8__audio_common__ubuntu_bionic_arm64__binary/badge/icon)](http://build.ros.org/job/Mbin_ubv8_uBv8__audio_common__ubuntu_bionic_arm64__binary) | [![Build Status](http://build.ros.org/job/Nbin_ufv8_uFv8__audio_common__ubuntu_focal_arm64__binary/badge/icon)](http://build.ros.org/job/Nbin_ufv8_uFv8__audio_common__ubuntu_focal_arm64__binary) | [![Build Status](http://build.ros.org/job/Nbin_dbv8_dBv8__audio_common__debian_buster_arm64__binary/badge/icon)](http://build.ros.org/job/Nbin_dbv8_dBv8__audio_common__debian_buster_arm64__binary) |
15+
| audio_common (armhf) | [![Build Status](http://build.ros.org/job/Mbin_ubhf_uBhf__audio_common__ubuntu_bionic_armhf__binary/badge/icon)](http://build.ros.org/job/Mbin_ubhf_uBhf__audio_common__ubuntu_bionic_armhf__binary) | [![Build Status](http://build.ros.org/job/Nbin_ufhf_uFhf__audio_common__ubuntu_focal_armhf__binary/badge/icon)](http://build.ros.org/job/Nbin_ufhf_uFhf__audio_common__ubuntu_focal_armhf__binary) | --- |
16+
| audio_common (i386) | --- | --- | --- |
17+
| audio_common (amd64) | [![Build Status](http://build.ros.org/job/Mbin_uB64__audio_common__ubuntu_bionic_amd64__binary/badge/icon)](http://build.ros.org/job/Mbin_uB64__audio_common__ubuntu_bionic_amd64__binary) | [![Build Status](http://build.ros.org/job/Nbin_uF64__audio_common__ubuntu_focal_amd64__binary/badge/icon)](http://build.ros.org/job/Nbin_uF64__audio_common__ubuntu_focal_amd64__binary) | [![Build Status](http://build.ros.org/job/Nbin_db_dB64__audio_common__debian_buster_amd64__binary/badge/icon)](http://build.ros.org/job/Nbin_db_dB64__audio_common__debian_buster_amd64__binary) |
18+
19+
## ROS1 source build
20+
21+
On ROS Kinetic, Melodic and Noetic, the [master](https://github.com/ros-drivers/audio_common/tree/master) branch is recommended.
22+
23+
## ROS2 source build
24+
25+
On ROS2, the [ros2](https://github.com/ros-drivers/audio_common/tree/ros2) branch is recommended
26+
27+
## Development, Branch and Release Policy
28+
29+
The `master` branch is currently considered the development branch, and is released into ROS Kinetic, Melodic and Noetic with version numbers in the 0.3.x range.
30+
`master` is accepting new, non-breaking features and bug fixes.
31+
32+
Large, breaking changes such as changes to dependencies or the package API will be considered,
33+
but they will probably be staged into a development branch for release into the next major release of ROS (ROS L)
34+
35+
## Support
36+
37+
Please ask support questions on [ROS Answers](http://answers.ros.org/questions/).

src/lib/audio_capture/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build
Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2+
Changelog for package audio_capture
3+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+
5+
0.3.18 (2024-08-13)
6+
-------------------
7+
8+
0.3.17 (2023-06-08)
9+
-------------------
10+
* Merge pull request `#220 <https://github.com/ros-drivers/audio_common/issues/220>`_ from v4hn/master
11+
* on real systems publish system clock time in capture node
12+
* The capture node is hard-coded to alsasrc
13+
* Contributors: Shingo Kitagawa, v4hn
14+
15+
0.3.16 (2022-12-23)
16+
-------------------
17+
* Merge pull request `#204 <https://github.com/ros-drivers/audio_common/issues/204>`_ from knorth55/audio-capture-stamped
18+
* add todo comment
19+
* publish audio stamped in audio_capture.cpp
20+
* Merge pull request `#216 <https://github.com/ros-drivers/audio_common/issues/216>`_ from knorth55/launch-update
21+
* update audio_capture launch
22+
* Contributors: Shingo Kitagawa
23+
24+
0.3.15 (2022-08-29)
25+
-------------------
26+
27+
0.3.14 (2022-08-18)
28+
-------------------
29+
30+
0.3.13 (2022-04-07)
31+
-------------------
32+
33+
0.3.12 (2021-09-01)
34+
-------------------
35+
* Merge branch 'master' into master
36+
* Contributors: Shingo Kitagawa
37+
38+
0.3.11 (2021-04-08)
39+
-------------------
40+
41+
0.3.10 (2021-01-07)
42+
-------------------
43+
* add bitrate in capture launch
44+
* [audio_capture] Publish audio info once before publishing /audio
45+
* Contributors: Naoya Yamaguchi, Shingo Kitagawa
46+
47+
0.3.9 (2020-10-22)
48+
------------------
49+
* Merge pull request `#160 <https://github.com/ros-drivers/audio_common/issues/160>`_ from knorth55/add-device-play
50+
* use ROS_INFO instead of printf
51+
* Contributors: Shingo Kitagawa
52+
53+
0.3.8 (2020-09-13)
54+
------------------
55+
56+
0.3.7 (2020-08-08)
57+
------------------
58+
* Merge pull request `#150 <https://github.com/ros-drivers/audio_common/issues/150>`_ from sktometometo/fix_mp3_options
59+
Fix property of lamemp3enc element in audio_capture so that the bitrate parameter work properly.
60+
* fix property of lamemp3enc element so that it will use the specified bitrate
61+
* Merge pull request `#146 <https://github.com/ros-drivers/audio_common/issues/146>`_ from knorth55/mp3-support
62+
* use space instead of tab
63+
* use same caps
64+
* support channls for mp3
65+
* Merge pull request `#145 <https://github.com/ros-drivers/audio_common/issues/145>`_ from knorth55/mp3-channel-rate
66+
[audio_capture] add sample_format in audio_capture
67+
* Merge pull request `#147 <https://github.com/ros-drivers/audio_common/issues/147>`_ from knorth55/fix-filesink
68+
[audio_capture] fix filesink for wave format
69+
* add sample_format arg in capture_to_file.launch
70+
* fix filesink for wave format
71+
* add sample_format in audio_capture
72+
* Contributors: Koki Shinjo, Shingo Kitagawa
73+
74+
0.3.6 (2020-05-29)
75+
------------------
76+
* Merge pull request `#141 <https://github.com/ros-drivers/audio_common/issues/141>`_ from knorth55/add-maintainer
77+
add maintainer
78+
* add maintainer
79+
* Contributors: Shingo Kitagawa
80+
81+
0.3.5 (2020-04-28)
82+
------------------
83+
84+
0.3.4 (2020-04-02)
85+
------------------
86+
* Merge branch 'master' of github.com:ros-drivers/audio_common
87+
* Contributors: Gerard Canal
88+
89+
0.3.3 (2018-05-22)
90+
------------------
91+
92+
0.3.2 (2018-05-02)
93+
------------------
94+
* [sound_play] add option to select audio device to play / record (`#87 <https://github.com/ros-drivers/audio_common/issues/87>`_)
95+
* [sound_play] add option to select audio device to play
96+
* [sound_play] reformat README to markdown; add usage to set device via rosparam
97+
* audio_capture: add option for selecting device to use
98+
* audio_play: add option to select device for playing audio
99+
* add device argument to launch files
100+
Conflicts:
101+
audio_capture/launch/capture.launch
102+
audio_capture/launch/capture_to_file.launch
103+
audio_capture/src/audio_capture.cpp
104+
audio_play/launch/play.launch
105+
sound_play/scripts/soundplay_node.py
106+
* Merge pull request `#102 <https://github.com/ros-drivers/audio_common/issues/102>`_ from EndPointCorp/fix_capture_leak
107+
Fix audio_capture leak
108+
* Fix audio_capture sample/buffer leak
109+
* Merge pull request `#90 <https://github.com/ros-drivers/audio_common/issues/90>`_ from prarobo/master
110+
Error checking code and improvements to launch files
111+
* Bug fix
112+
* fix(audio_capture): capturing wave using gst1.0
113+
0.10-style raw audio caps were being created, according to GStreamer warning. Should be audio/x-raw,format=(string).. now.
114+
* Merge pull request `#1 <https://github.com/ros-drivers/audio_common/issues/1>`_ from prarobo/fixes
115+
Error checking code and improvements to launch files
116+
* Removed default device
117+
* Added error checking code
118+
* Added parameters to launch files
119+
* Contributors: Austin, Matt Vollrath, Prasanna Kannappan, Rokus, Yuki Furuta, prarobo
120+
121+
0.3.1 (2016-08-28)
122+
------------------
123+
* Update to new gstreamer rosdeps
124+
* #70 can launch these in different namespaces with different microphones, and both are operating.
125+
* #70 can switch between different microphones, but the first microphone doesn't like the hw:1, it only works with device:="" - so must be doing something wrong still.
126+
* Add changelogs
127+
* [audio_capture] add error handler
128+
* [audio_capture] add option to publish captured audio data as wav format
129+
Conflicts:
130+
audio_capture/src/audio_capture.cpp
131+
* Fixed memory leak (see #18).
132+
* Removed trailing whitespace.
133+
* Fixed problem that CMake uses gstreamer-0.1 instead of gstreamer-1.0
134+
* Added gstreamer 1.0 dependecies
135+
* Ported to gstreamer 1.0
136+
package.xml dependencies still missing
137+
* Update maintainer email
138+
* Contributors: Benny, Felix Duvallet, Furushchev, Lucas Walter, trainman419
139+
140+
0.2.11 (2016-02-16)
141+
-------------------
142+
* Add changelogs
143+
* Contributors: trainman419
144+
145+
0.2.10 (2016-01-21)
146+
-------------------
147+
* Add changelogs
148+
* Contributors: trainman419
149+
150+
0.2.9 (2015-12-02)
151+
------------------
152+
* Add changelogs
153+
* [audio_capture] add error handler
154+
* [audio_capture] add option to publish captured audio data as wav format
155+
* Fixed memory leak (see `#18 <https://github.com/ros-drivers/audio_common/issues/18>`_).
156+
* Removed trailing whitespace.
157+
* Contributors: Felix Duvallet, Furushchev, trainman419
158+
159+
0.2.8 (2015-10-02)
160+
------------------
161+
* Update maintainer email
162+
* Contributors: trainman419
163+
164+
0.2.7 (2014-07-25)
165+
------------------
166+
* audio_capture.cpp has to wait for generated AudioData headers
167+
* Contributors: v4hn
168+
169+
0.2.6 (2014-02-26)
170+
------------------
171+
* audio_capture and play _require\_ gstreamer, it's not optional
172+
* Contributors: v4hn
173+
174+
0.2.5 (2014-01-23)
175+
------------------
176+
* "0.2.5"
177+
* Contributors: trainman419
178+
179+
0.2.4 (2013-09-10)
180+
------------------
181+
* Update CMakeLists.txt
182+
* audio_capture: install launchfiles
183+
* Contributors: David Gossow
184+
185+
0.2.3 (2013-07-15)
186+
------------------
187+
* Fix install rule for audio_capture.
188+
* Contributors: Austin Hendrix
189+
190+
0.2.2 (2013-04-10)
191+
------------------
192+
193+
0.2.1 (2013-04-08 13:59)
194+
------------------------
195+
196+
0.2.0 (2013-04-08 13:49)
197+
------------------------
198+
* Finish catkinizing audio_common.
199+
* Catkinize audio_play.
200+
* Catkinize audio_capture.
201+
* Fix typo in package.xml
202+
* Versions and more URLs.
203+
* Convert manifests to package.xml
204+
* Convert audio_capture manifest to package.xml
205+
* Ditch old makefiles.
206+
* Updates manifest
207+
* Updated manifests for rodep2
208+
* oneiric build fixes, bump version to 0.1.6
209+
* Removed redundant thread::thread
210+
* Added a rosdep.yaml file
211+
* Fixed to use audio_common_msgs
212+
* Added ability to use different festival voices
213+
* Updated documentation
214+
* Added ability to capture to file
215+
* Fixed ignore files
216+
* Added hgignore files
217+
* Audio_capture and audio_play working
218+
* Making separate audio_capture and audio_play packages
219+
* Moved audio_transport to audio_capture
220+
* Contributors: Austin Hendrix, Brian Gerkey, Nate Koenig, nkoenig
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
3+
project(audio_capture)
4+
5+
find_package(catkin REQUIRED COMPONENTS roscpp audio_common_msgs)
6+
7+
find_package(PkgConfig)
8+
pkg_check_modules(GST1.0 gstreamer-1.0 REQUIRED)
9+
10+
find_package(Boost REQUIRED COMPONENTS thread)
11+
12+
include_directories(${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${GST1.0_INCLUDE_DIRS})
13+
14+
catkin_package()
15+
16+
add_executable(audio_capture src/audio_capture.cpp)
17+
target_link_libraries(audio_capture ${catkin_LIBRARIES} ${GST1.0_LIBRARIES} ${Boost_LIBRARIES})
18+
add_dependencies(audio_capture ${catkin_EXPORTED_TARGETS})
19+
20+
install(TARGETS audio_capture
21+
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
22+
23+
install(DIRECTORY launch
24+
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

0 commit comments

Comments
 (0)