• Home
  • History
  • Annotate
  • only in /frameworks/av/media/libaudioclient/include/
History log of /frameworks/av/media/libaudioclient/include/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1d32e9f8e5ba52d69c6319270c8a63a995d2c4f2 02-Jun-2017 Eric Laurent <elaurent@google.com> aaudio: implement native IPLayer for legacy playback streams

Make AudioStreamTrack derive from PlayerTrackBase to
provide playback and volume control via IPLayer interface.

Bug: 62027849
Test: verify aaudio playback regressions and registration of aaudio
players in AudioService

Change-Id: I5c04110f1554233eae3f1bc357a64a584d7303d1
edia/PlayerBase.h
b5323222bd524876dda1ebf89694f186278e2229 01-Jun-2017 Eric Laurent <elaurent@google.com> add native IPlayer interface implementation

Generalized the IPlayer implementation done for OpenSL ES
so that it can be used by other native audio players
Created two classes:
- PlayerBase implementing the interfacin native AudioManager and
IPlayer methods
- TrackPlayerBase, a derived class specialized for AudioTrack.

Bug: 62027849
Test: verify regressions with OpenSL ES buffer queue player

Change-Id: If5ad21a3c1a243fba0b312001c5034102e6d6672
edia/PlayerBase.h
edia/TrackPlayerBase.h
f370264dfa5237524a3535f5242a0c68cbbb13eb 06-May-2017 Andy Hung <hunga@google.com> VolumeShaper: Fixes for updated Cts test

1) Limit number of VolumeShapers that can be created.
a) 16 system VolumeShapers
b) 16 application/client VolumeShapers
2) Return proper volume before VolumeShaper is started.
3) Consistent xOffset definition used internally:
a) this is now always the position on the volumeshaper curve
which can go backwards if in REVERSE.
b) normalized time is always forward going and is scaled
to 0.f and 1.f depending on progress relative to
the curve's duration.
4) Fix replace method.
5) Add comments.

Test: Use updated CTS VolumeShaperTest
Bug: 37536598
Change-Id: I837ab2a481adc0abbd3f1338bfe2cb79831b11fa
edia/AudioTrack.h
25a9e5561a7f14e79b04f713a515a9464b9ea077 17-Apr-2017 Steven Moreland <smoreland@google.com> Add libaudioclient_headers

Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I31cf7e7cd89fe6e71d4e52f7682990146a12b2fb
udioBufferProvider.h
udioEffect.h
udioIoDescriptor.h
udioMixer.h
udioParameter.h
udioPolicy.h
udioPolicyHelper.h
udioRecord.h
udioSystem.h
udioTimestamp.h
udioTrack.h
AudioFlinger.h
AudioFlingerClient.h
AudioPolicyService.h
AudioPolicyServiceClient.h
AudioRecord.h
AudioTrack.h
Effect.h
EffectClient.h
oneGenerator.h
edia/AudioBufferProvider.h
edia/AudioEffect.h
edia/AudioIoDescriptor.h
edia/AudioMixer.h
edia/AudioParameter.h
edia/AudioPolicy.h
edia/AudioPolicyHelper.h
edia/AudioRecord.h
edia/AudioSystem.h
edia/AudioTimestamp.h
edia/AudioTrack.h
edia/IAudioFlinger.h
edia/IAudioFlingerClient.h
edia/IAudioPolicyService.h
edia/IAudioPolicyServiceClient.h
edia/IAudioRecord.h
edia/IAudioTrack.h
edia/IEffect.h
edia/IEffectClient.h
edia/ToneGenerator.h
b588402d48c9634fa72e7e13ca6d6f2a0766cb98 28-Mar-2017 Phil Burk <philburk@google.com> AudioTrack and AudioRecord: getNotificationPeriodInFrames()

This is needed for AAudioStream_getFramesPerBurst(),
which is needed for callbacks to work correctly.

Bug: 34716038
Bug: 36489240
Test: CTS test_aaudio.cpp
Change-Id: I0e3f3f18a22bf6da8c288f0d2caec0bff0153f2f
Signed-off-by: Phil Burk <philburk@google.com>
udioRecord.h
udioTrack.h
b53dae6ea693561cd5e3dae1ec112949cb079b2c 17-Jan-2017 Glenn Kasten <gkasten@google.com> ToneGenerator: support output sample rates beyond 65535 Hz

Changed type of ToneGenerator::WaveGenerator constructor parameter
samplingRate from unsigned short to uint32_t to permit output
sample rates such as 96000 Hz.

Bug: 33969539
Test: dialer tones work when output sink operates at 96000 Hz
Change-Id: I5551409c467a4fd98ea4d5c9703b120a526a443e
oneGenerator.h
4ef88d7106c01f81109ee163cb6789073d80c6ae 22-Feb-2017 Andy Hung <hunga@google.com> VolumeShaper: Add AudioTrack restore

MediaPlayer VolumeShaper can now be set before start().

Test: CTS and Ducking
Bug: 31015569
Change-Id: Idf63c167e164161b200e2467fbeb9409b3097dbe
udioTrack.h
e2b43843fd12783188edd2c54188ea8d26864788 02-Feb-2017 Vijay Venkatraman <vijaykv@google.com> Moved headers from include/ to appropriate libs

include/camera -> camera/include/camera
include/media/audiohal -> media/libaudiohal/include
include/media/AudioResampler*.h -> media/libaudioprocessing/include
include/media/Audio*.h,IAudio*.h,IEffect*.h,ToneGenerator.h -> media/libaudioclient/include
include/media/EffectsFactoryApi.h -> media/libeffects/include
include/media/stagefright -> media/libstagefright/include
include/media/nbaio -> media/libnbaio/include
include/media/<rest of files> -> media/libmedia/include
include/cpustats -> media/libcpustats/include/cpustats

Added symlinks from old location to new ones

Bug: 33241851

Test: VNDK linked modules will need to add explicit lib dep.
All other modules should compile the same

Change-Id: I0ecf754a2132640ae781a3cc31428fb8c0bd1669
udioBufferProvider.h
udioEffect.h
udioIoDescriptor.h
udioMixer.h
udioParameter.h
udioPolicy.h
udioPolicyHelper.h
udioRecord.h
udioSystem.h
udioTimestamp.h
udioTrack.h
AudioFlinger.h
AudioFlingerClient.h
AudioPolicyService.h
AudioPolicyServiceClient.h
AudioRecord.h
AudioTrack.h
Effect.h
EffectClient.h
oneGenerator.h