Home
last modified time | relevance | path

Searched refs:aaudioStream (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine.cpp57 AAudioStream *aaudioStream = nullptr; in main() local
86 aaudioStream = player.getStream(); in main()
89 state = AAudioStream_getState(aaudioStream); in main()
93 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in main()
99 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in main()
103 actualSharingMode = AAudioStream_getSharingMode(aaudioStream); in main()
110 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in main()
111 printf("Buffer: bufferSize = %d\n", AAudioStream_getBufferSizeInFrames(aaudioStream)); in main()
112 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in main()
125 printf("PerformanceMode = %d\n", AAudioStream_getPerformanceMode(aaudioStream)); in main()
[all …]
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp54 AAudioStream *aaudioStream = nullptr; in main() local
80 aaudioStream = recorder.getStream(); in main()
82 actualSamplesPerFrame = AAudioStream_getSamplesPerFrame(aaudioStream); in main()
84 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in main()
87 actualSharingMode = AAudioStream_getSharingMode(aaudioStream); in main()
94 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in main()
105 actualDataFormat = AAudioStream_getFormat(aaudioStream); in main()
111 AAudioStream_getPerformanceMode(aaudioStream)); in main()
128 state = AAudioStream_getState(aaudioStream); in main()
138 int actual = AAudioStream_read(aaudioStream, data, minFrames, timeoutNanos); in main()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_open_params.cpp74 AAudioStream *aaudioStream = nullptr; in testOpenOptions() local
94 result = AAudioStreamBuilder_openStream(aaudioBuilder, &aaudioStream); in testOpenOptions()
101 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in testOpenOptions()
102 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in testOpenOptions()
103 actualDataFormat = AAudioStream_getFormat(aaudioStream); in testOpenOptions()
104 actualDirection = AAudioStream_getDirection(aaudioStream); in testOpenOptions()
123 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in testOpenOptions()
124 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in testOpenOptions()
129 AAudioStream_close(aaudioStream); in testOpenOptions()