Searched refs:volume (Results 76 - 100 of 161) sorted by relevance

1234567

/external/webrtc/webrtc/modules/audio_device/mac/
H A Daudio_mixer_manager_mac.cc215 int32_t AudioMixerManagerMac::SetSpeakerVolume(uint32_t volume) { argument
217 "AudioMixerManagerMac::SetSpeakerVolume(volume=%u)", volume);
231 // volume range is 0.0 - 1.0, convert from 0 -255
232 const Float32 vol = (Float32)(volume / 255.0);
236 // Does the capture device have a master volume control?
267 " Unable to set a volume on any output channel");
274 int32_t AudioMixerManagerMac::SpeakerVolume(uint32_t& volume) const {
287 // Does the device have a master volume control?
299 volume
836 SetMicrophoneVolume(uint32_t volume) argument
[all...]
H A Daudio_device_mac.h122 // Speaker volume controls
124 virtual int32_t SetSpeakerVolume(uint32_t volume);
125 virtual int32_t SpeakerVolume(uint32_t& volume) const;
130 // Microphone volume controls
132 virtual int32_t SetMicrophoneVolume(uint32_t volume);
133 virtual int32_t MicrophoneVolume(uint32_t& volume) const;
/external/lzma/CPP/7zip/Archive/7z/
H A D7zProperties.cpp103 const CVolume &volume = _volumes.Front(); local
104 const CArchiveDatabaseEx &_db = volume.Database;
H A D7zHandlerOut.cpp240 const CVolume *volume = 0; local
243 volume = &_volumes.Front();
244 db = &volume->Database;
613 volume ? volume->Stream: 0,
614 volume ? db : 0,
/external/webrtc/talk/app/webrtc/
H A Dmediastreaminterface.h167 virtual void OnSetVolume(double volume) = 0;
175 // Sets the volume to the source. |volume| is in the range of [0, 10].
176 // TODO(tommi): This method should be on the track and ideally volume should
178 virtual void SetVolume(double volume) {} argument
/external/webrtc/webrtc/modules/audio_device/dummy/
H A Dfile_audio_device.cc330 int32_t FileAudioDevice::SetSpeakerVolume(uint32_t volume) { return -1; } argument
332 int32_t FileAudioDevice::SpeakerVolume(uint32_t& volume) const { return -1; }
350 int32_t FileAudioDevice::SetMicrophoneVolume(uint32_t volume) { return -1; } argument
352 int32_t FileAudioDevice::MicrophoneVolume(uint32_t& volume) const {
/external/webrtc/webrtc/modules/audio_device/linux/
H A Daudio_device_pulse_linux.h158 // Speaker volume controls
160 int32_t SetSpeakerVolume(uint32_t volume) override;
161 int32_t SpeakerVolume(uint32_t& volume) const override;
166 // Microphone volume controls
168 int32_t SetMicrophoneVolume(uint32_t volume) override;
169 int32_t MicrophoneVolume(uint32_t& volume) const override;
/external/webrtc/webrtc/modules/audio_device/win/
H A Daudio_device_wave_win.h103 // Speaker volume controls
105 virtual int32_t SetSpeakerVolume(uint32_t volume);
106 virtual int32_t SpeakerVolume(uint32_t& volume) const;
111 // Microphone volume controls
113 virtual int32_t SetMicrophoneVolume(uint32_t volume);
114 virtual int32_t MicrophoneVolume(uint32_t& volume) const;
H A Daudio_device_core_win.h146 // Speaker volume controls
148 virtual int32_t SetSpeakerVolume(uint32_t volume);
149 virtual int32_t SpeakerVolume(uint32_t& volume) const;
154 // Microphone volume controls
156 virtual int32_t SetMicrophoneVolume(uint32_t volume);
157 virtual int32_t MicrophoneVolume(uint32_t& volume) const;
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
H A DWebRtcAudioTrack.java222 /** Get max possible volume index for a phone call audio stream. */
229 /** Set current volume level for a phone call audio stream. */
230 private boolean setStreamVolume(int volume) { argument
231 Logging.d(TAG, "setStreamVolume(" + volume + ")");
234 Logging.e(TAG, "The device implements a fixed volume policy.");
237 audioManager.setStreamVolume(AudioManager.STREAM_VOICE_CALL, volume, 0);
248 /** Get current volume level for a phone call audio stream. */
/external/webrtc/webrtc/sound/
H A Dpulseaudiosoundsystem.cc87 static pa_volume_t CricketVolumeToPulseVolume(int volume) { argument
88 // PA's volume space goes from 0% at PA_VOLUME_MUTED (value 0) to 100% at
95 volume / SoundSystemInterface::kMaxVolume;
246 virtual bool GetVolume(int *volume) { argument
251 // Unlike output streams, input streams have no concept of a stream volume,
252 // only a device volume. So we have to retrieve the volume of the device
278 // We now have the volume for each channel. Each channel could have a
279 // different volume if, e.g., the user went and changed the volumes in the
280 // PA UI. To get a single volume fo
294 SetVolume(int volume) argument
627 GetVolume(int *volume) argument
671 SetVolume(int volume) argument
[all...]
H A Dalsasoundsystem.cc262 bool GetVolume(int *volume) override {
267 bool SetVolume(int volume) override {
393 bool GetVolume(int *volume) override {
398 bool SetVolume(int volume) override {
/external/webrtc/webrtc/modules/audio_device/test/
H A Daudio_device_test_api.cc280 // Mac and Windows have lower resolution on the volume settings.
740 // set volume without open playout device
880 uint32_t volume(0);
890 EXPECT_EQ(-1, audio_device_->SpeakerVolume(&volume));
903 EXPECT_EQ(0, audio_device_->SpeakerVolume(&volume));
904 WARNING(volume == 19001);
909 // use kDefaultCommunicationDevice and modify/retrieve the volume
920 EXPECT_EQ(0, audio_device_->SpeakerVolume(&volume));
921 CheckVolume(volume, vol);
926 // use kDefaultDevice and modify/retrieve the volume
[all...]
/external/webrtc/webrtc/voice_engine/test/cmd_test/
H A Dvoe_cmd_test.cc59 VoEVolumeControl* volume = NULL; variable
133 volume = VoEVolumeControl::GetInterface(m_voe);
190 if (volume)
191 volume->Release();
407 printf("Getting mic volume \n");
409 res = volume->GetMicVolume(vol);
429 printf("%i. Get speaker volume\n", option_index++);
430 printf("%i. Set speaker volume\n", option_index++);
431 printf("%i. Get microphone volume\n", option_index++);
432 printf("%i. Set microphone volume\
[all...]
/external/webrtc/webrtc/modules/audio_device/
H A Daudio_device_impl.cc609 int32_t AudioDeviceModuleImpl::SetSpeakerVolume(uint32_t volume) argument
612 return (_ptrAudioDevice->SetSpeakerVolume(volume));
619 int32_t AudioDeviceModuleImpl::SpeakerVolume(uint32_t* volume) const
630 *volume = level;
632 WEBRTC_TRACE(kTraceStateInfo, kTraceAudioDevice, _id, "output: volume=%u", *volume);
753 WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id, "failed to retrieve the speaker-volume step size");
944 int32_t AudioDeviceModuleImpl::SetMicrophoneVolume(uint32_t volume) argument
947 return (_ptrAudioDevice->SetMicrophoneVolume(volume));
954 int32_t AudioDeviceModuleImpl::MicrophoneVolume(uint32_t* volume) cons
[all...]
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_public.c133 * This routine sets common parameters like transpose, volume, etc.
154 * This routine sets common parameters like transpose, volume, etc.
221 * This routine gets common parameters like transpose, volume, etc.
325 pStream->volume = DEFAULT_STREAM_VOLUME;
828 /* set volume */
830 result = EAS_SetVolume(pEASData, pStream, pStream->volume);
1839 * volume - the desired master gain (100 is max)
1846 * overrides any previously set master volume from sysex
1850 EAS_PUBLIC EAS_RESULT EAS_SetVolume (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, EAS_I32 volume) argument
1855 if ((volume <
[all...]
H A Deas_pcmdata.h105 EAS_I16 volume; /* volume for stream */ member in struct:s_pcm_state_tag
H A Deas_imelody.c354 /* set channel volume to max */
470 /* volume */
898 velocity = (EAS_U8) (pData->volume ? pData->volume * IMELODY_VEL_MUL + IMELODY_VEL_OFS : 0);
1257 if (pData->volume < 15)
1258 pData->volume++;
1263 if (pData->volume > 0)
1264 pData->volume--;
1282 pData->volume = (EAS_U8) temp;
1455 pData->volume
[all...]
H A Deas_pcm.c370 pState->volume = pParams->volume;
449 * Update the pitch and volume parameters for a PCM stream
508 * Update the volume parameters for a PCM stream
527 EAS_RESULT EAS_PEUpdateVolume (S_EAS_DATA* pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume) argument
529 pState->volume = volume;
1009 pState->currentGainLeft = (EAS_I16) FMUL_15x15(pState->gainLeft, pState->volume);
1010 pState->currentGainRight = (EAS_I16) FMUL_15x15(pState->gainRight, pState->volume);
1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume);
[all...]
/external/webrtc/webrtc/voice_engine/
H A Dvoe_base_impl.cc117 int audio_delay_milliseconds, int volume,
125 volume, key_pressed);
138 // Return 0 to indicate no need to change the volume.
704 int32_t clock_drift, uint32_t volume, bool key_pressed) {
711 // indicate no volume is available.
712 if (volume != 0) {
717 (volume * kMaxVolumeLevel + static_cast<int>(max_volume / 2)) /
724 // and change the maxVolume to volume if it turns out that
728 max_volume = volume;
757 // Return the new volume i
112 OnDataAvailable(const int voe_channels[], size_t number_of_voe_channels, const int16_t* audio_data, int sample_rate, size_t number_of_channels, size_t number_of_frames, int audio_delay_milliseconds, int volume, bool key_pressed, bool need_audio_processing) argument
700 ProcessRecordedDataWithAPM( const int voe_channels[], size_t number_of_voe_channels, const void* audio_data, uint32_t sample_rate, size_t number_of_channels, size_t number_of_frames, uint32_t audio_delay_milliseconds, int32_t clock_drift, uint32_t volume, bool key_pressed) argument
[all...]
/external/sonivox/arm-wt-22k/host_src/
H A Deas_types.h248 EAS_U8 volume; /* CC7 */ member in struct:s_midi_controllers_tag
/external/webrtc/talk/app/webrtc/test/
H A Dfakeaudiocapturemodule.cc336 int32_t FakeAudioCaptureModule::SetSpeakerVolume(uint32_t /*volume*/) {
341 int32_t FakeAudioCaptureModule::SpeakerVolume(uint32_t* /*volume*/) const {
370 int32_t FakeAudioCaptureModule::SetMicrophoneVolume(uint32_t volume) { argument
372 current_mic_level_ = volume;
376 int32_t FakeAudioCaptureModule::MicrophoneVolume(uint32_t* volume) const {
378 *volume = current_mic_level_;
/external/webrtc/webrtc/test/
H A Dmock_voice_engine.h318 MOCK_METHOD1(SetSpeakerVolume, int(unsigned int volume));
319 MOCK_METHOD1(GetSpeakerVolume, int(unsigned int& volume));
320 MOCK_METHOD1(SetMicVolume, int(unsigned int volume));
321 MOCK_METHOD1(GetMicVolume, int(unsigned int& volume));
/external/autotest/client/cros/
H A Dstorage.py17 """Indicates that a storage/volume operation failed.
35 size: the size of the volume/partition ib bytes (int)
115 """Mount the passed volume.
118 If neither is passed, it will mount the first volume found in
122 device/volume to be mounted.
159 """Un-mount the passed volume, by index or storage dictionary.
162 If neither is passed, it will mount the first volume found in
166 device/volume to be mounted.
210 for volume in self.__mounted.copy():
211 self.umount_volume(storage_dict=self.__mounted[volume])
[all...]
/external/eigen/test/
H A Dgeo_alignedbox.cpp117 VERIFY_IS_APPROX( 14.0f, box.volume() );
144 VERIFY_IS_APPROX( 42, box.volume() );

Completed in 575 milliseconds

1234567