diff options
| author | 2022-02-18 18:28:02 +0800 | |
|---|---|---|
| committer | 2022-03-02 19:09:33 +0000 | |
| commit | 5adb027679f4c45485ac363bd043b2fe2ef70809 (patch) | |
| tree | 8830b6fe7defa4c138e6f16b28c7d91ae701dd4c /libs/androidfw/StringPool.cpp | |
| parent | 96d93b543096b6f2e49daf818b787605220f0037 (diff) | |
Add more methods for capture and injection
Add #close() but keep it and the constructor as package-private because we want caller to call VirtualAudioDevice#close().
Add #getFormat() and the audio format will be owned by
AudioCapture/AudioInjection, not VirtualAudioSession.
Add all #read() and #write() overloads method, so that the caller can
replace the call to AudioRecord/AudioTrack easily.
Bug: 218542209
CTS-Coverage-Bug: 218528439
Test: atest FrameworksCoreTests:android.companion.virtual
Change-Id: Iccfd497e6aaeacc60a57d28ae730fdc0cce46a25
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions