/hardware/libhardware_legacy/audio/ |
D | AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); in openOutputStream() 71 lChannels = outFinal->channels(); in openOutputStream() 81 if (channels != 0) { in openOutputStream() 82 if (*channels != 0) { in openOutputStream() 83 lChannels = *channels; in openOutputStream() 85 *channels = lChannels; in openOutputStream() 126 …dioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, in openInputStream() argument 134 …inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustic… in openInputStream() 137 lChannels = inFinal->channels(); in openInputStream() [all …]
|
D | AudioHardwareStub.cpp | 46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 49 status_t lStatus = out->set(format, channels, sampleRate); in openOutputStream() 65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, in openInputStream() argument 74 status_t lStatus = in->set(format, channels, sampleRate, acoustics); in openInputStream() 122 if (pChannels) *pChannels = channels(); in set() 132 audio_channel_count_from_out_mask(channels()) / sampleRate()); in write() 149 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump() 179 audio_channel_count_from_in_mask(channels()) / sampleRate()); in read() 195 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
|
D | AudioHardwareGeneric.cpp | 68 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); in openOutputStream() 102 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, in openInputStream() argument 122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); in openInputStream() 206 if (lChannels == 0) lChannels = channels(); in set() 211 (lChannels != channels()) || in set() 214 if (pChannels) *pChannels = channels(); in set() 256 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump() 324 (*pChannels != channels()) || in set() 328 *pChannels = channels(); in set() [all …]
|
D | AudioDumpInterface.h | 41 uint32_t channels, 48 virtual uint32_t channels() const; 83 uint32_t channels, 89 virtual uint32_t channels() const; 124 uint32_t *channels=0, 151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
|
D | AudioHardwareStub.h | 35 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } in channels() function 52 virtual uint32_t channels() const { return AudioSystem::CHANNEL_IN_MONO; } in channels() function 82 uint32_t *channels=0, 90 uint32_t *channels,
|
D | A2dpAudioInterface.cpp | 65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 69 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status); in openOutputStream() 83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { in openOutputStream() 108 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, in openInputStream() argument 111 …return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustic… in openInputStream() 247 if (lChannels == 0) lChannels = channels(); in set() 252 (lChannels != channels()) || in set() 255 if (pChannels) *pChannels = channels(); in set()
|
D | AudioHardwareGeneric.h | 52 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } in channels() function 86 virtual uint32_t channels() const { return AudioSystem::CHANNEL_IN_MONO; } in channels() function 123 uint32_t *channels=0, 131 uint32_t *channels,
|
D | A2dpAudioInterface.h | 58 uint32_t *channels=0, 66 uint32_t *channels, 88 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } in channels() function
|
D | AudioHardwareInterface.cpp | 155 uint32_t *channels, in openOutputStreamWithFlags() argument 159 return openOutputStream(devices, format, channels, sampleRate, status); in openOutputStreamWithFlags()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAStreamOps.cpp | 95 uint32_t *channels, in set() argument 100 if (channels && *channels != 0) { in set() 101 if (mHandle->channels != popCount(*channels)) in set() 103 } else if (channels) { in set() 105 switch(*channels) { in set() 113 *channels = AUDIO_CHANNEL_OUT_STEREO; in set() 117 switch(*channels) { in set() 128 *channels = AUDIO_CHANNEL_IN_MONO; in set() 343 uint32_t ALSAStreamOps::channels() const in channels() function in android_audio_legacy::ALSAStreamOps
|
D | AudioHardwareALSA.cpp | 723 uint32_t *channels, in openOutputStream() argument 729 devices, *channels, *sampleRate); in openOutputStream() 781 alsa_handle.channels = VOIP_DEFAULT_CHANNEL_MODE; in openOutputStream() 828 err = out->set(format, channels, sampleRate, devices); in openOutputStream() 852 if (0 == *channels) { in openOutputStream() 853 alsa_handle.channels = info.AudioBlocksArray[info.nAudioBlocks-1].nChannels; in openOutputStream() 854 if (alsa_handle.channels > 6) { in openOutputStream() 855 alsa_handle.channels = 6; in openOutputStream() 857 *channels = audio_channel_out_mask_from_count(alsa_handle.channels); in openOutputStream() 859 alsa_handle.channels = AudioSystem::popCount(*channels); in openOutputStream() [all …]
|
D | AudioHardwareALSA.h | 172 uint32_t channels; member 269 status_t set(int *format, uint32_t *channels, uint32_t *rate, uint32_t device); 277 uint32_t channels() const; 308 virtual uint32_t channels() const; 364 virtual uint32_t channels() const in channels() function 366 return ALSAStreamOps::channels(); in channels() 487 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channels); 498 uint32_t channels=0); 506 uint32_t *channels=0, 515 uint32_t *channels,
|
D | AudioUsbALSA.h | 109 …status_t setHardwareParams(pcm *local_handle, uint32_t sampleRate, uint32_t channels, int periodSi… 115 status_t getCap(char * type, int &channels, int &sampleRate);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioHardwareInterface.h | 60 virtual uint32_t channels() const = 0; 71 uint32_t frameSize() const { return audio_channel_count_from_out_mask(channels())* in frameSize() 142 virtual uint32_t channels() const = 0; 153 uint32_t frameSize() const { return audio_channel_count_from_in_mask(channels())* in frameSize() 256 uint32_t *channels=0, 263 uint32_t *channels=0, 272 uint32_t *channels,
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | link_layer_stats.cpp | 59 wifi_channel_stat channels[]; member 110 (wifi_iface_stat *)((char *)&((wifi_radio_stat_internal *)data)->channels in handleResponse() 139 memcpy(&(external_stat_ptr->channels), &(internal_stat_ptr->channels), in convertToExternalRadioStatStructure()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | aplay.c | 91 int channels = (pcm->flags & PCM_MONO) ? 1 : ((pcm->flags & PCM_5POINT1)? 6 : 2 ); in set_params() local 112 pcm->channels * 16); in set_params() 114 pcm->channels); in set_params() 142 sparams->avail_min = pcm->period_size/(channels * 2) ; in set_params() 143 sparams->start_threshold = pcm->period_size/(channels * 2) ; in set_params() 145 sparams->xfer_align = pcm->period_size/(channels * 2) ; /* needed for old kernels */ in set_params() 164 static int play_file(unsigned rate, unsigned channels, int fd, in play_file() argument 184 if (channels == 1) in play_file() 186 else if (channels == 6) in play_file() 234 pcm->channels = channels; in play_file()
|
D | arec.c | 115 pcm->channels * 16); in set_params() 117 pcm->channels); in set_params() 178 int record_file(unsigned rate, unsigned channels, int fd, unsigned count, unsigned flags, const ch… in record_file() argument 193 if (channels == 1) in record_file() 195 else if (channels == 4) in record_file() 197 else if (channels == 6) in record_file() 207 pcm->channels = channels; in record_file()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/ |
D | AudioPrimaryHidlHalUtils.h | 59 static Result channelMasks(IStream* stream, hidl_vec<AudioChannelMask>& channels) { in channelMasks() 60 EXPECT_OK(stream->getSupportedChannelMasks(returnIn(channels))); in channelMasks() 61 return convertToResult(channels); in channelMasks()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/ |
D | AudioPrimaryHidlHalTest.cpp | 28 const auto& channels = profile->getChannels(); in getOutputDeviceConfigParameters() local 31 vector<audio_channel_mask_t>(channels.begin(), channels.end()), in getOutputDeviceConfigParameters() 74 const auto& channels = profile->getChannels(); in getInputDeviceConfigParameters() local 77 vector<audio_channel_mask_t>(channels.begin(), channels.end()), in getInputDeviceConfigParameters()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | gscancommand.h | 39 wifi_channel channels[]; member 58 wifi_channel *channels; member 121 virtual void setChannels(int *channels);
|
/hardware/interfaces/audio/6.0/ |
D | types.hal | 126 * Used channels further identify if the microphone has any significative 253 * contains separate audio content on the left and right channels. 268 * with the left and right audio channels blended together 269 * and delivered to both channels. 273 * channels are pairwise blended, the other channels such as center 282 * A suggested guideline is that all channels with left-right 284 * into the right channel position. The center channels (with no 285 * left/right symmetry) or unbalanced channels are left alone. 293 * A suggested guideline is that all channels with left-right 295 * into the left channel position. The center channels (with no [all …]
|
/hardware/interfaces/audio/effect/2.0/ |
D | IDownmixEffect.hal | 24 STRIP, // throw away the extra channels 25 FOLD // mix the extra channels with FL/FR
|
/hardware/interfaces/audio/effect/4.0/ |
D | IDownmixEffect.hal | 24 STRIP, // throw away the extra channels 25 FOLD // mix the extra channels with FL/FR
|
/hardware/interfaces/audio/effect/5.0/ |
D | IDownmixEffect.hal | 24 STRIP, // throw away the extra channels 25 FOLD // mix the extra channels with FL/FR
|
/hardware/interfaces/audio/effect/6.0/ |
D | IDownmixEffect.hal | 24 STRIP, // throw away the extra channels 25 FOLD // mix the extra channels with FL/FR
|