HomeSort by relevance Sort by last modified time
    Searched refs:hw (Results 1 - 25 of 180) sorted by null

1 2 3 4 5 6 7 8

  /external/qemu/audio/
noaudio.c 32 HWVoiceOut hw; member in struct:NoVoiceOut
37 HWVoiceIn hw; member in struct:NoVoiceIn
41 static int no_run_out (HWVoiceOut *hw, int live)
43 NoVoiceOut *no = (NoVoiceOut *) hw;
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
53 samples = bytes >> hw->info.shift;
57 hw->rpos = (hw->rpos + decr) % hw->samples;
66 static int no_init_out (HWVoiceOut *hw, struct audsettings *as
    [all...]
audio_template.h 27 #define HWBUF hw->mix_buf
29 #define HW HWVoiceOut
34 #define HW HWVoiceIn
36 #define HWBUF hw->conv_buf
72 static void glue (audio_pcm_hw_free_resources_, TYPE) (HW *hw)
81 static int glue (audio_pcm_hw_alloc_resources_, TYPE) (HW *hw)
83 HWBUF = audio_calloc (AUDIO_FUNC, hw->samples, sizeof (struct st_sample));
86 hw->samples)
198 HW *hw = *hwp; local
246 HW *hw; local
320 HW *hw; local
348 HW *hw; local
474 HW *hw = sw->hw; local
    [all...]
wavaudio.c 25 #include "hw/hw.h"
38 HWVoiceOut hw; member in struct:WAVVoiceOut
58 static int wav_out_run (HWVoiceOut *hw, int live)
60 WAVVoiceOut *wav = (WAVVoiceOut *) hw;
67 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
70 samples = INT_MAX >> hw->info.shift;
73 samples = bytes >> hw->info.shift;
79 rpos = hw->rpos;
81 int left_till_end_samples = hw->samples - rpos
225 HWVoiceIn hw; member in struct:WAVVoiceIn
    [all...]
fmodaudio.c 33 HWVoiceOut hw; member in struct:FMODVoiceOut
40 HWVoiceIn hw; member in struct:FMODVoiceIn
94 HWVoiceOut *hw = &fmd->hw; local
102 hw->samples << hw->info.shift,
114 if ((len1 & hw->info.align) || (len2 & hw->info.align)) {
116 len1, len2, hw->info.align + 1);
120 if ((len1 + len2) - (hw->samples << hw->info.shift))
    [all...]
audio.c 25 #include "hw/hw.h"
819 if (audio_pcm_info_eq (&cap->hw.info, as)) {
840 if (cap->hw.enabled != enabled) {
842 cap->hw.enabled = enabled;
850 HWVoiceOut *hw = &cap->hw; local
854 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) {
863 static void audio_detach_capture (HWVoiceOut *hw)
865 SWVoiceCap *sc = hw->cap_head.lh_first
990 HWVoiceIn *hw = sw->hw; local
1010 HWVoiceIn *hw = sw->hw; local
1306 HWVoiceOut *hw; local
1353 HWVoiceIn *hw; local
1480 HWVoiceOut *hw = NULL; local
1588 HWVoiceIn *hw = NULL; local
1621 HWVoiceOut *hw = &cap->hw; local
2100 HWVoiceOut *hw; local
    [all...]
esdaudio.c 71 HWVoiceOut hw; member in struct:__anon13130
82 HWVoiceIn hw; member in struct:__anon13131
117 HWVoiceOut *hw = &esd->hw; local
120 threshold = conf.divisor ? hw->samples / conf.divisor : 0;
144 rpos = hw->rpos;
152 int chunk = audio_MIN (to_mix, hw->samples - rpos);
153 struct st_sample *src = hw->mix_buf + rpos;
155 hw->clip (esd->pcm_buf, src, chunk);
158 written = write (esd->fd, esd->pcm_buf, chunk << hw->info.shift)
326 HWVoiceIn *hw = &esd->hw; local
    [all...]
dsoundaudio.c 76 HWVoiceOut hw; member in struct:__anon13128
88 HWVoiceIn hw; member in struct:__anon13129
352 static void dsound_write_sample (HWVoiceOut *hw, uint8_t *dst, int dst_len)
356 int pos = hw->rpos + dst_len;
357 struct st_sample *src1 = hw->mix_buf + hw->rpos;
360 if (pos > hw->samples) {
361 src_len1 = hw->samples - hw->rpos;
362 src2 = hw->mix_buf
    [all...]
ossaudio.c 46 HWVoiceOut hw; member in struct:OSSVoiceOut
57 HWVoiceIn hw; member in struct:OSSVoiceIn
145 static int oss_poll_out (HWVoiceOut *hw)
147 OSSVoiceOut *oss = (OSSVoiceOut *) hw;
152 static int oss_poll_in (HWVoiceIn *hw)
154 OSSVoiceIn *oss = (OSSVoiceIn *) hw;
386 HWVoiceOut *hw = &oss->hw; local
395 int samples_till_end = hw->samples - oss->wpos;
397 int bytes_to_write = samples_to_write << hw->info.shift
    [all...]
paaudio.c 44 HWVoiceOut hw; member in struct:__anon13137
55 HWVoiceIn hw; member in struct:__anon13138
90 HWVoiceOut *hw = &pa->hw; local
93 threshold = conf.divisor ? hw->samples / conf.divisor : 0;
117 rpos = hw->rpos;
125 int chunk = audio_MIN (to_mix, hw->samples - rpos);
126 struct st_sample *src = hw->mix_buf + rpos;
128 hw->clip (pa->pcm_buf, src, chunk);
131 chunk << hw->info.shift, &error) < 0)
185 HWVoiceIn *hw = &pa->hw; local
    [all...]
winaudio.c 91 HWVoiceOut hw; member in struct:WinAudioOut
128 winaudio_out_fini (HWVoiceOut *hw)
130 WinAudioOut* s = (WinAudioOut*) hw;
159 winaudio_out_init (HWVoiceOut *hw, struct audsettings *as)
161 WinAudioOut* s = (WinAudioOut*) hw;
199 (DWORD_PTR)winaudio_out_buffer_done, (DWORD_PTR) hw,
242 audio_pcm_init_info (&hw->info, as);
243 hw->samples = conf.nb_samples*2;
254 winaudio_out_run (HWVoiceOut *hw, int live)
256 WinAudioOut* s = (WinAudioOut*) hw;
343 HWVoiceIn hw; member in struct:WinAudioIn
    [all...]
coreaudio.c 286 void* hw,
309 // TODO: audio_pcm_init_info (&hw->info, as);
389 // TODO: hw->samples = *pNBuffers * core->bufferFrameSize;
427 status = AudioDeviceAddIOProc(core->deviceID, ioproc, hw);
458 HWVoiceOut hw; member in struct:coreaudioVoiceOut
462 #define CORE_OUT(hw) ((coreaudioVoiceOut*)(hw))->core
465 static int coreaudio_run_out (HWVoiceOut *hw, int live)
468 coreaudioVoice *core = CORE_OUT(hw);
485 hw->rpos = core->pos
503 HWVoiceOut *hw = hwptr; local
603 HWVoiceIn hw; member in struct:coreaudioVoiceIn
641 HWVoiceIn *hw = hwptr; local
    [all...]
alsaaudio.c 116 HWVoiceOut hw; member in struct:ALSAVoiceOut
125 HWVoiceIn hw; member in struct:ALSAVoiceIn
374 static int alsa_poll_out (HWVoiceOut *hw)
376 ALSAVoiceOut *alsa = (ALSAVoiceOut *) hw;
381 static int alsa_poll_in (HWVoiceIn *hw)
383 ALSAVoiceIn *alsa = (ALSAVoiceIn *) hw;
784 HWVoiceOut *hw = &alsa->hw; local
787 int left_till_end_samples = hw->samples - alsa->wpos;
789 char *src = advance (alsa->pcm_buf, alsa->wpos << hw->info.shift)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
hwdep.h 31 long long (*llseek) (struct snd_hwdep *hw, struct file * file, long long offset, int orig);
32 long (*read) (struct snd_hwdep *hw, char __user *buf, long count, loff_t *offset);
33 long (*write) (struct snd_hwdep *hw, const char __user *buf, long count, loff_t *offset);
34 int (*open) (struct snd_hwdep * hw, struct file * file);
35 int (*release) (struct snd_hwdep *hw, struct file * file);
36 unsigned int (*poll) (struct snd_hwdep *hw, struct file * file, poll_table * wait);
37 int (*ioctl) (struct snd_hwdep *hw, struct file * file, unsigned int cmd, unsigned long arg);
38 int (*ioctl_compat) (struct snd_hwdep *hw, struct file * file, unsigned int cmd, unsigned long arg);
39 int (*mmap) (struct snd_hwdep *hw, struct file * file, struct vm_area_struct * vma);
40 int (*dsp_status) (struct snd_hwdep *hw, struct snd_hwdep_dsp_status *status)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
hwdep.h 31 long long (*llseek) (struct snd_hwdep *hw, struct file * file, long long offset, int orig);
32 long (*read) (struct snd_hwdep *hw, char __user *buf, long count, loff_t *offset);
33 long (*write) (struct snd_hwdep *hw, const char __user *buf, long count, loff_t *offset);
34 int (*open) (struct snd_hwdep * hw, struct file * file);
35 int (*release) (struct snd_hwdep *hw, struct file * file);
36 unsigned int (*poll) (struct snd_hwdep *hw, struct file * file, poll_table * wait);
37 int (*ioctl) (struct snd_hwdep *hw, struct file * file, unsigned int cmd, unsigned long arg);
38 int (*ioctl_compat) (struct snd_hwdep *hw, struct file * file, unsigned int cmd, unsigned long arg);
39 int (*mmap) (struct snd_hwdep *hw, struct file * file, struct vm_area_struct * vma);
40 int (*dsp_status) (struct snd_hwdep *hw, struct snd_hwdep_dsp_status *status)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
CharArrayReaderTest.java 25 char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; field in class:CharArrayReaderTest
33 cr = new CharArrayReader(hw);
41 cr = new CharArrayReader(hw, 5, 5);
53 cr = new CharArrayReader(hw);
70 cr = new CharArrayReader(hw);
82 cr = new CharArrayReader(hw);
90 cr = new CharArrayReader(hw);
101 cr = new CharArrayReader(hw);
104 .equals(new String(hw, 0, 10)));
111 cr = new CharArrayReader(hw);
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldCharArrayReaderTest.java 25 char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; field in class:OldCharArrayReaderTest
36 cr = new CharArrayReader(hw);
54 cr = new CharArrayReader(hw, -1, 0);
60 cr = new CharArrayReader(hw, 0, -1);
66 cr = new CharArrayReader(hw, hw.length + 1, 1);
72 cr = new CharArrayReader(hw, 5, 5);
82 cr = new CharArrayReader(hw);
97 cr = new CharArrayReader(hw);
118 cr = new CharArrayReader(hw);
    [all...]
  /hardware/qcom/power/
Android.mk 5 # hw/<POWERS_HARDWARE_MODULE_ID>.<ro.hardware>.so
9 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
  /external/webkit/Source/JavaScriptCore/gyp/
generate-derived-sources.sh 9 make -f "JavaScriptCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.ncpu`
  /cts/suite/audio_quality/lib/src/task/
TaskOutput.cpp 48 android::sp<AudioHardware> hw = AudioHardware::createAudioHw(localDevice, true, getTestCase()); local
49 if (hw.get() == NULL) {
50 LOGE("cannot create Audio HW");
53 if (!hw->prepare(AudioHardware::ESampleRate_44100, mVolume, mMode)) {
64 if (!hw->startPlaybackOrRecord(buffer)) {
73 AudioRemotePlayback* remote = reinterpret_cast<AudioRemotePlayback*>(hw.get());
79 mHw = hw;
TaskInput.cpp 52 android::sp<AudioHardware> hw = AudioHardware::createAudioHw(localDevice, false, local
54 if (hw.get() == NULL) {
69 if (!hw->prepare(AudioHardware::ESampleRate_44100, mVolume, mMode)) {
73 if (!hw->startPlaybackOrRecord(buffer)) {
78 mHw = hw;
  /cts/suite/audio_quality/lib/src/audio/
AudioHardware.cpp 79 android::sp<AudioHardware> hw; local
88 hw = new AudioPlaybackLocal(mHwId);
90 hw = new AudioRecordingLocal(mHwId);
95 hw = new AudioRemotePlayback(testCase->getRemoteAudio());
97 hw = new AudioRemoteRecording(testCase->getRemoteAudio());
101 return hw;
  /external/bluetooth/bluedroid/audio_a2dp_hw/
Android.mk 17 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
  /external/webkit/Source/WebCore/gyp/
generate-derived-sources.sh 10 make -f "WebCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.availcpu`
  /hardware/samsung_slsi/exynos5/include/
exynos_rotator.h 223 void *hw);
232 void *hw);
  /device/generic/goldfish/audio/
Android.mk 21 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw

Completed in 1419 milliseconds

1 2 3 4 5 6 7 8