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

1 2 3 4 5 6 7

  /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:__anon10545
82 HWVoiceIn hw; member in struct:__anon10546
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:__anon10543
88 HWVoiceIn hw; member in struct:__anon10544
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:__anon10552
55 HWVoiceIn hw; member in struct:__anon10553
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...]
dsound_template.h 150 static void dsound_fini_in (HWVoiceIn *hw)
152 static void dsound_fini_out (HWVoiceOut *hw)
157 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw;
159 DSoundVoiceOut *ds = (DSoundVoiceOut *) hw;
177 static int dsound_init_in (HWVoiceIn *hw, struct audsettings *as)
179 static int dsound_init_out (HWVoiceOut *hw, struct audsettings *as)
189 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw;
194 DSoundVoiceOut *ds = (DSoundVoiceOut *) hw;
263 audio_pcm_init_info (&hw->info, &obt_as);
265 if (bc.dwBufferBytes & hw->info.align)
    [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...]
  /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...]
  /device/samsung/crespo/
asound.conf 19 type hw
24 type hw
36 type hw
51 type hw
67 type hw
84 type hw
101 type hw
118 type hw
135 type hw
152 type hw
    [all...]
  /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 75 android::sp<AudioHardware> hw; local
84 hw = new AudioPlaybackLocal(mHwId);
86 hw = new AudioRecordingLocal(mHwId);
91 hw = new AudioRemotePlayback(testCase->getRemoteAudio());
93 hw = new AudioRemoteRecording(testCase->getRemoteAudio());
97 return hw;
  /external/webkit/Source/WebCore/gyp/
generate-derived-sources.sh 10 make -f "WebCore/DerivedSources.make" -j `/usr/sbin/sysctl -n hw.availcpu`
  /device/generic/goldfish/audio/
Android.mk 21 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
  /device/samsung/crespo/libcamera/
Android.mk 7 # hw/<COPYPIX_HARDWARE_MODULE_ID>.<ro.product.board>.so
8 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
  /external/qemu/android/
main.c 48 #include "hw/goldfish_nand.h"
174 AndroidHwConfig* hw; local
323 /* update the avd hw config from this new skin */
328 hw = android_hw;
329 if (avdInfo_initHwConfig(avd, hw) < 0) {
370 parse_skin_files(opts->skindir, opts->skin, opts, hw,
402 /* Update CPU architecture for HW configs created from build dir. */
432 hw->kernel_path = kernelFile;
504 AFREE(hw->disk_ramdisk_path);
505 hw->disk_ramdisk_path = ASTRDUP(opts->ramdisk)
    [all...]

Completed in 1413 milliseconds

1 2 3 4 5 6 7