Lines Matching refs:virtual

28 class StreamHalLocal : public virtual StreamHalInterface
32 virtual status_t getSampleRate(uint32_t *rate);
35 virtual status_t getBufferSize(size_t *size);
38 virtual status_t getChannelMask(audio_channel_mask_t *mask);
41 virtual status_t getFormat(audio_format_t *format);
44 virtual status_t getAudioProperties(
48 virtual status_t setParameters(const String8& kvPairs);
51 virtual status_t getParameters(const String8& keys, String8 *values);
54 virtual status_t addEffect(sp<EffectHalInterface> effect);
55 virtual status_t removeEffect(sp<EffectHalInterface> effect);
58 virtual status_t standby();
60 virtual status_t dump(int fd);
63 virtual status_t start() = 0;
66 virtual status_t stop() = 0;
69 virtual status_t createMmapBuffer(int32_t minSizeFrames,
73 virtual status_t getMmapPosition(struct audio_mmap_position *position) = 0;
77 virtual status_t setHalThreadPriority(int priority);
84 virtual ~StreamHalLocal();
98 virtual status_t getFrameSize(size_t *size);
101 virtual status_t getLatency(uint32_t *latency);
104 virtual status_t setVolume(float left, float right);
107 virtual status_t selectPresentation(int presentationId, int programId);
110 virtual status_t write(const void *buffer, size_t bytes, size_t *written);
114 virtual status_t getRenderPosition(uint32_t *dspFrames);
117 virtual status_t getNextWriteTimestamp(int64_t *timestamp);
120 virtual status_t setCallback(wp<StreamOutHalInterfaceCallback> callback);
123 virtual status_t supportsPauseAndResume(bool *supportsPause, bool *supportsResume);
126 virtual status_t pause();
129 virtual status_t resume();
132 virtual status_t supportsDrain(bool *supportsDrain);
135 virtual status_t drain(bool earlyNotify);
138 virtual status_t flush();
141 virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp);
144 virtual status_t start();
147 virtual status_t stop();
150 virtual status_t createMmapBuffer(int32_t minSizeFrames,
154 virtual status_t getMmapPosition(struct audio_mmap_position *position);
171 virtual ~StreamOutHalLocal();
181 virtual status_t getFrameSize(size_t *size);
184 virtual status_t setGain(float gain);
187 virtual status_t read(void *buffer, size_t bytes, size_t *read);
190 virtual status_t getInputFramesLost(uint32_t *framesLost);
194 virtual status_t getCapturePosition(int64_t *frames, int64_t *time);
197 virtual status_t start();
200 virtual status_t stop();
203 virtual status_t createMmapBuffer(int32_t minSizeFrames,
207 virtual status_t getMmapPosition(struct audio_mmap_position *position);
210 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones);
213 virtual status_t setPreferredMicrophoneDirection(audio_microphone_direction_t direction);
216 virtual status_t setPreferredMicrophoneFieldDimension(float zoom);
229 virtual ~StreamInHalLocal();