OSDN Git Service

aaudio: limit number of streams per process
authorPhil Burk <philburk@google.com>
Fri, 30 Jun 2017 19:23:05 +0000 (12:23 -0700)
committerPhil Burk <philburk@google.com>
Sat, 1 Jul 2017 15:01:51 +0000 (08:01 -0700)
commit9169294539ad46e08e2fe76a93c37ed965c13058
tree7f99790dd7625f12d19a1365666e4c541451f0ae
parent6ec18f8ce3d797fdd5722926ac17c1f4eda7904d
aaudio: limit number of streams per process

Testing the new max streams restriction revealed the bug
involving the second shared stream.

Bug: 62951298
Bug: 63171495
Test: test_n_streams.cpp can open MAX_STREAMS_PER_PROCESS MMAP streams
Change-Id: Ibea7d9c4716326a37c669954b52f397ed2968caa
media/libaaudio/tests/Android.mk
media/libaaudio/tests/test_n_streams.cpp [new file with mode: 0644]
services/oboeservice/AAudioClientTracker.cpp
services/oboeservice/AAudioClientTracker.h
services/oboeservice/AAudioEndpointManager.cpp
services/oboeservice/AAudioService.cpp