Lines Matching defs:hints
122 // Constants specified by the ALSA API for device hints.
126 // Loop through the sound cards to get ALSA device hints.
128 void** hints = NULL;
129 int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
131 GetAlsaDevicesInfo(type, hints, device_names);
133 // Destroy the hints now that we're done with it.
134 wrapper_->DeviceNameFreeHint(hints);
136 DLOG(WARNING) << "GetAlsaAudioDevices: unable to get device hints: "
144 void** hints,
152 for (void** hint_iter = hints; *hint_iter != NULL; hint_iter++) {
242 void** hints = NULL;
250 int error = wrapper_->DeviceNameHint(card, kPcmInterfaceName, &hints);
252 for (void** hint_iter = hints; *hint_iter != NULL; hint_iter++) {
266 // Destroy the hints now that we're done with it.
267 wrapper_->DeviceNameFreeHint(hints);
268 hints = NULL;
270 DLOG(WARNING) << "HasAnyAudioDevice: unable to get device hints: "