31 lines
1.2 KiB
Markdown
31 lines
1.2 KiB
Markdown
# Connectivity Audio samples
|
|
|
|
This module includes Audio Samples related to connectivity:
|
|
|
|
- [Communication Audio Manager Sample](src/main/java/com/example/platform/connectivity/audio/AudioCommsSample.kt):
|
|
Shows how to use the audio manager to manage the communication device. For example during a VoIP call.
|
|
- [AudioLoopSource](src/main/java/com/example/platform/connectivity/audio/AudioLoopSource.kt):
|
|
Simple utility class that showcases how to use AudioTrack and AudioRecord to loop audio from the
|
|
input source to the output source.
|
|
|
|
For more check out the documentation at
|
|
https://developer.android.com/guide/topics/media
|
|
|
|
## License
|
|
|
|
```
|
|
Copyright 2022 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
```
|