OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPcmHandle
(Results
1 - 4
of
4
) sorted by null
/cts/suite/audio_quality/lib/src/audio/
AudioRecordingLocal.cpp
30
mPcmHandle
(NULL)
57
mPcmHandle
= pcm_open(mHwId, 0, PCM_IN, &config);
58
if (!
mPcmHandle
|| !pcm_is_ready(
mPcmHandle
)) {
59
LOGE("Unable to open PCM device(%d) (%s)\n", mHwId, pcm_get_error(
mPcmHandle
));
66
mBufferSize = pcm_get_buffer_size(
mPcmHandle
);
81
if (pcm_read(
mPcmHandle
, buffer->getUnhanledData(), readSize)) {
82
LOGE("AudioRecordingLocal error %s", pcm_get_error(
mPcmHandle
));
94
pcm_stop(
mPcmHandle
);
99
if (
mPcmHandle
!= NULL)
[
all
...]
AudioPlaybackLocal.cpp
43
mPcmHandle
(NULL)
70
mPcmHandle
= pcm_open(mHwId, 0, PCM_OUT, &config);
71
if (!
mPcmHandle
|| !pcm_is_ready(
mPcmHandle
)) {
72
LOGE("Unable to open PCM device(%d) (%s)\n", mHwId, pcm_get_error(
mPcmHandle
));
87
if (pcm_write(
mPcmHandle
, buffer->getUnhanledData(), mSizes)) {
88
LOGE("AudioPlaybackLocal error %s", pcm_get_error(
mPcmHandle
));
103
pcm_* pcm = (pcm_*)
mPcmHandle
;
105
pcm_stop(
mPcmHandle
);
110
if (
mPcmHandle
!= NULL)
[
all
...]
/cts/suite/audio_quality/lib/include/audio/
AudioPlaybackLocal.h
40
struct pcm*
mPcmHandle
;
AudioRecordingLocal.h
40
struct pcm*
mPcmHandle
;
Completed in 46 milliseconds