Lines Matching refs:virtual
32 virtual status_t set(int *pFormat, uint32_t *pChannels, uint32_t *pRate);
33 virtual uint32_t sampleRate() const { return 44100; } in sampleRate()
34 virtual size_t bufferSize() const { return 4096; } in bufferSize()
35 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } in channels()
36 virtual int format() const { return AudioSystem::PCM_16_BIT; } in format()
37 virtual uint32_t latency() const { return 0; } in latency()
38 virtual status_t setVolume(float left, float right) { return NO_ERROR; } in setVolume()
39 virtual ssize_t write(const void* buffer, size_t bytes);
40 virtual status_t standby();
41 virtual status_t dump(int fd, const Vector<String16>& args);
42 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} in setParameters()
43 virtual String8 getParameters(const String8& keys);
44 virtual status_t getRenderPosition(uint32_t *dspFrames);
49 …virtual status_t set(int *pFormat, uint32_t *pChannels, uint32_t *pRate, AudioSystem::audio_in_…
50 virtual uint32_t sampleRate() const { return 8000; } in sampleRate()
51 virtual size_t bufferSize() const { return 320; } in bufferSize()
52 virtual uint32_t channels() const { return AudioSystem::CHANNEL_IN_MONO; } in channels()
53 virtual int format() const { return AudioSystem::PCM_16_BIT; } in format()
54 virtual status_t setGain(float gain) { return NO_ERROR; } in setGain()
55 virtual ssize_t read(void* buffer, ssize_t bytes);
56 virtual status_t dump(int fd, const Vector<String16>& args);
57 virtual status_t standby() { return NO_ERROR; } in standby()
58 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} in setParameters()
59 virtual String8 getParameters(const String8& keys);
60 virtual unsigned int getInputFramesLost() const { return 0; } in getInputFramesLost()
61 virtual status_t addAudioEffect(effect_handle_t effect) { return NO_ERROR; } in addAudioEffect()
62 virtual status_t removeAudioEffect(effect_handle_t effect) { return NO_ERROR; } in removeAudioEffect()
69 virtual ~AudioHardwareStub();
70 virtual status_t initCheck();
71 virtual status_t setVoiceVolume(float volume);
72 virtual status_t setMasterVolume(float volume);
75 virtual status_t setMicMute(bool state) { mMicMute = state; return NO_ERROR; } in setMicMute()
76 virtual status_t getMicMute(bool* state) { *state = mMicMute ; return NO_ERROR; } in getMicMute()
79 virtual AudioStreamOut* openOutputStream(
85 virtual void closeOutputStream(AudioStreamOut* out);
87 virtual AudioStreamIn* openInputStream(
94 virtual void closeInputStream(AudioStreamIn* in);
97 virtual status_t dump(int fd, const Vector<String16>& args);