HomeSort by relevance Sort by last modified time
    Searched refs:hw (Results 1 - 25 of 162) 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)
43 NoVoiceOut *no = (NoVoiceOut *) hw;
49 live = audio_pcm_hw_get_live_out (&no->hw);
56 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
58 samples = bytes >> hw->info.shift;
62 hw->rpos = (hw->rpos + decr) % hw->samples
    [all...]
ossaudio.c 40 HWVoiceOut hw; member in struct:OSSVoiceOut
50 HWVoiceIn hw; member in struct:OSSVoiceIn
291 static int oss_run_out (HWVoiceOut *hw)
293 OSSVoiceOut *oss = (OSSVoiceOut *) hw;
302 live = audio_pcm_hw_get_live_out (hw);
307 bufsize = hw->samples << hw->info.shift;
319 if (abs (hw->samples - live) < 64) {
332 decr = audio_MIN (bytes >> hw->info.shift, live);
344 "please report your OS/audio hw to malc@pulsesoft.com\n"
    [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)
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;
76 live = audio_pcm_hw_get_live_out (hw);
84 rpos = hw->rpos
230 HWVoiceIn hw; member in struct:WAVVoiceIn
    [all...]
esdaudio.c 55 HWVoiceOut hw; member in struct:__anon5925
65 HWVoiceIn hw; member in struct:__anon5926
112 static int qesd_run_out (HWVoiceOut *hw)
114 ESDVoiceOut *esd = (ESDVoiceOut *) hw;
118 liveSamples = audio_pcm_hw_get_live_out (hw);
119 rpos = hw->rpos;
123 int chunkSamples = audio_MIN (liveSamples, hw->samples - rpos);
124 int chunkBytes = chunkSamples << hw->info.shift;
125 struct st_sample *src = hw->mix_buf + rpos;
127 hw->clip (esd->pcm_buf, src, chunkSamples)
    [all...]
fmodaudio.c 33 HWVoiceOut hw; member in struct:FMODVoiceOut
40 HWVoiceIn hw; member in struct:FMODVoiceIn
99 HWVoiceOut *hw = &fmd->hw; local
107 hw->samples << hw->info.shift,
119 if ((len1 & hw->info.align) || (len2 & hw->info.align)) {
121 len1, len2, hw->info.align + 1);
125 if ((len1 + len2) - (hw->samples << hw->info.shift))
    [all...]
audio.c 25 #include "hw/hw.h"
820 if (audio_pcm_info_eq (&cap->hw.info, as)) {
841 if (cap->hw.enabled != enabled) {
843 cap->hw.enabled = enabled;
851 HWVoiceOut *hw = &cap->hw; local
855 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) {
864 static void audio_detach_capture (HWVoiceOut *hw)
866 SWVoiceCap *sc = hw->cap_head.lh_first
969 HWVoiceIn *hw = sw->hw; local
989 HWVoiceIn *hw = sw->hw; local
1230 HWVoiceOut *hw; local
1278 HWVoiceIn *hw; local
1409 HWVoiceOut *hw = NULL; local
1521 HWVoiceIn *hw = NULL; local
1556 HWVoiceOut *hw = &cap->hw; local
2061 HWVoiceOut *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)
256 WinAudioOut* s = (WinAudioOut*) hw;
344 HWVoiceIn hw; member in struct:WinAudioIn
    [all...]
coreaudio.c 289 void* hw,
312 // TODO: audio_pcm_init_info (&hw->info, as);
392 // TODO: hw->samples = *pNBuffers * core->bufferFrameSize;
430 status = AudioDeviceAddIOProc(core->deviceID, ioproc, hw);
461 HWVoiceOut hw; member in struct:coreaudioVoiceOut
465 #define CORE_OUT(hw) ((coreaudioVoiceOut*)(hw))->core
469 coreaudio_run_out (HWVoiceOut *hw)
472 coreaudioVoice *core = CORE_OUT(hw);
478 live = audio_pcm_hw_get_live_out (hw);
510 HWVoiceOut *hw = hwptr; local
614 HWVoiceIn hw; member in struct:coreaudioVoiceIn
654 HWVoiceIn *hw = hwptr; local
    [all...]
  /device/samsung/crespo/alsa-lib/src/seq/
seq_hw.c 44 snd_seq_hw_t *hw = seq->private_data; local
47 if (close(hw->fd)) {
51 free(hw);
57 snd_seq_hw_t *hw = seq->private_data; local
60 if ((flags = fcntl(hw->fd, F_GETFL)) < 0) {
68 if (fcntl(hw->fd, F_SETFL, flags) < 0) {
77 snd_seq_hw_t *hw = seq->private_data; local
79 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_CLIENT_ID, &client) < 0) {
88 snd_seq_hw_t *hw = seq->private_data; local
89 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SYSTEM_INFO, info) < 0)
98 snd_seq_hw_t *hw = seq->private_data; local
108 snd_seq_hw_t *hw = seq->private_data; local
118 snd_seq_hw_t *hw = seq->private_data; local
128 snd_seq_hw_t *hw = seq->private_data; local
138 snd_seq_hw_t *hw = seq->private_data; local
148 snd_seq_hw_t *hw = seq->private_data; local
158 snd_seq_hw_t *hw = seq->private_data; local
168 snd_seq_hw_t *hw = seq->private_data; local
178 snd_seq_hw_t *hw = seq->private_data; local
188 snd_seq_hw_t *hw = seq->private_data; local
198 snd_seq_hw_t *hw = seq->private_data; local
208 snd_seq_hw_t *hw = seq->private_data; local
218 snd_seq_hw_t *hw = seq->private_data; local
228 snd_seq_hw_t *hw = seq->private_data; local
238 snd_seq_hw_t *hw = seq->private_data; local
248 snd_seq_hw_t *hw = seq->private_data; local
258 snd_seq_hw_t *hw = seq->private_data; local
268 snd_seq_hw_t *hw = seq->private_data; local
278 snd_seq_hw_t *hw = seq->private_data; local
288 snd_seq_hw_t *hw = seq->private_data; local
298 snd_seq_hw_t *hw = seq->private_data; local
308 snd_seq_hw_t *hw = seq->private_data; local
318 snd_seq_hw_t *hw = seq->private_data; local
327 snd_seq_hw_t *hw = seq->private_data; local
336 snd_seq_hw_t *hw = seq->private_data; local
346 snd_seq_hw_t *hw = seq->private_data; local
356 snd_seq_hw_t *hw = seq->private_data; local
366 snd_seq_hw_t *hw = seq->private_data; local
376 snd_seq_hw_t *hw = seq->private_data; local
424 snd_seq_hw_t *hw; local
    [all...]
  /device/samsung/crespo/alsa-lib/src/pcm/
pcm_hw.c 4 * \brief PCM HW Plugin Interface
114 #define FAST_PCM_STATE(hw) \
115 ((enum sndrv_pcm_state) (hw)->mmap_status->state)
116 #define FAST_PCM_TSTAMP(hw) \
117 ((hw)->mmap_status->tstamp)
122 snd_pcm_hw_t *hw = pcm->private_data; local
123 res = FAST_PCM_TSTAMP(hw);
124 if (SNDRV_PROTOCOL_VERSION(2, 0, 5) > hw->version)
130 static int sync_ptr1(snd_pcm_hw_t *hw, unsigned int flags)
133 hw->sync_ptr->flags = flags
169 snd_pcm_hw_t *hw = pcm->private_data; local
182 snd_pcm_hw_t *hw = pcm->private_data; local
199 snd_pcm_hw_t *hw = pcm->private_data; local
222 snd_pcm_hw_t *hw = pcm->private_data; local
256 snd_pcm_hw_t *hw = pcm->private_data; local
276 snd_pcm_hw_t *hw = pcm->private_data; local
321 snd_pcm_hw_t *hw = pcm->private_data; local
340 snd_pcm_hw_t *hw = pcm->private_data; local
360 snd_pcm_hw_t *hw = pcm->private_data; local
427 snd_pcm_hw_t *hw = pcm->private_data; local
459 snd_pcm_hw_t *hw = pcm->private_data; local
480 snd_pcm_hw_t *hw = pcm->private_data; local
496 snd_pcm_hw_t *hw = pcm->private_data; local
505 snd_pcm_hw_t *hw = pcm->private_data; local
539 snd_pcm_hw_t *hw = pcm->private_data; local
571 snd_pcm_hw_t *hw = pcm->private_data; local
583 snd_pcm_hw_t *hw = pcm->private_data; local
595 snd_pcm_hw_t *hw = pcm->private_data; local
616 snd_pcm_hw_t *hw = pcm->private_data; local
629 snd_pcm_hw_t *hw = pcm->private_data; local
641 snd_pcm_hw_t *hw = pcm->private_data; local
658 snd_pcm_hw_t *hw = pcm->private_data; local
678 snd_pcm_hw_t *hw = pcm->private_data; local
722 snd_pcm_hw_t *hw = pcm->private_data; local
764 snd_pcm_hw_t *hw = pcm->private_data; local
776 snd_pcm_hw_t *hw = pcm->private_data; local
795 snd_pcm_hw_t *hw = pcm->private_data; local
814 snd_pcm_hw_t *hw = pcm->private_data; local
833 snd_pcm_hw_t *hw = pcm->private_data; local
851 snd_pcm_hw_t *hw = pcm->private_data; local
885 snd_pcm_hw_t *hw = pcm->private_data; local
907 snd_pcm_hw_t *hw = pcm->private_data; local
924 snd_pcm_hw_t *hw = pcm->private_data; local
951 snd_pcm_hw_t *hw = pcm->private_data; local
967 snd_pcm_hw_t *hw = pcm->private_data; local
979 snd_pcm_hw_t *hw = pcm->private_data; local
1026 snd_pcm_hw_t *hw = pcm->private_data; local
1138 snd_pcm_hw_t *hw = NULL; local
1403 snd_pcm_hw_t *hw; local
    [all...]
  /frameworks/base/services/audioflinger/
AudioHardwareInterface.cpp 72 AudioHardwareInterface* hw = 0; local
76 hw = new AudioHardwareGeneric();
81 hw = new AudioHardwareGeneric();
85 hw = createAudioHardware();
88 if (hw->initCheck() != NO_ERROR) {
90 delete hw;
91 hw = new AudioHardwareStub();
95 hw = new A2dpAudioInterface(hw);
105 hw = new AudioDumpInterface(hw); // replace interfac
    [all...]
  /device/samsung/crespo/alsa-lib/src/control/
control_hw.c 54 snd_ctl_hw_t *hw = handle->private_data; local
56 res = close(hw->fd) < 0 ? -errno : 0;
57 free(hw);
63 snd_ctl_hw_t *hw = handle->private_data; local
65 int fd = hw->fd;
84 snd_ctl_hw_t *hw = ctl->private_data; local
85 int fd = hw->fd;
114 snd_ctl_hw_t *hw = handle->private_data; local
115 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS, &subscribe) < 0) {
124 snd_ctl_hw_t *hw = handle->private_data local
134 snd_ctl_hw_t *hw = handle->private_data; local
142 snd_ctl_hw_t *hw = handle->private_data; local
150 snd_ctl_hw_t *hw = handle->private_data; local
158 snd_ctl_hw_t *hw = handle->private_data; local
166 snd_ctl_hw_t *hw = handle->private_data; local
174 snd_ctl_hw_t *hw = handle->private_data; local
182 snd_ctl_hw_t *hw = handle->private_data; local
190 snd_ctl_hw_t *hw = handle->private_data; local
198 snd_ctl_hw_t *hw = handle->private_data; local
209 snd_ctl_hw_t *hw = handle->private_data; local
243 snd_ctl_hw_t *hw = handle->private_data; local
251 snd_ctl_hw_t *hw = handle->private_data; local
259 snd_ctl_hw_t *hw = handle->private_data; local
267 snd_ctl_hw_t *hw = handle->private_data; local
275 snd_ctl_hw_t *hw = handle->private_data; local
283 snd_ctl_hw_t *hw = handle->private_data; local
291 snd_ctl_hw_t *hw = handle->private_data; local
299 snd_ctl_hw_t *hw = handle->private_data; local
307 snd_ctl_hw_t *hw = handle->private_data; local
315 snd_ctl_hw_t *hw = handle->private_data; local
323 snd_ctl_hw_t *hw = handle->private_data; local
370 snd_ctl_hw_t *hw; local
    [all...]
  /device/samsung/crespo/alsa-lib/src/conf/cards/
AU8820.conf 12 type hw
ES1968.conf 10 type hw
ICH-MODEM.conf 12 type hw
CMI8788.conf 12 type hw
53 type hw
68 type hw
80 type hw
108 type hw
127 type hw
GUS.conf 16 type hw
25 !pcm.hw {
61 type hw
Aureon71.conf 35 type hw
46 type hw
58 type hw
71 type hw
84 type hw
98 type hw
110 type hw
139 type hw
171 type hw
AU8810.conf 12 type hw
35 type hw
AU8830.conf 12 type hw
39 type hw
Aureon51.conf 35 type hw
46 type hw
59 type hw
71 type hw
84 type hw
98 type hw
128 type hw
160 type hw
  /device/samsung/crespo/alsa-lib/src/rawmidi/
rawmidi_hw.c 50 snd_rawmidi_hw_t *hw = rmidi->private_data; local
53 hw->open--;
54 if (hw->open)
56 if (close(hw->fd)) {
60 free(hw);
66 snd_rawmidi_hw_t *hw = rmidi->private_data; local
69 if ((flags = fcntl(hw->fd, F_GETFL)) < 0) {
77 if (fcntl(hw->fd, F_SETFL, flags) < 0) {
86 snd_rawmidi_hw_t *hw = rmidi->private_data; local
88 if (ioctl(hw->fd, SNDRV_RAWMIDI_IOCTL_INFO, info) < 0)
97 snd_rawmidi_hw_t *hw = rmidi->private_data; local
108 snd_rawmidi_hw_t *hw = rmidi->private_data; local
119 snd_rawmidi_hw_t *hw = rmidi->private_data; local
130 snd_rawmidi_hw_t *hw = rmidi->private_data; local
141 snd_rawmidi_hw_t *hw = rmidi->private_data; local
151 snd_rawmidi_hw_t *hw = rmidi->private_data; local
181 snd_rawmidi_hw_t *hw = NULL; local
    [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...]
  /libcore/luni/src/test/java/tests/api/java/io/
CharArrayReaderTest.java 31 char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; field in class:CharArrayReaderTest
48 cr = new CharArrayReader(hw);
71 cr = new CharArrayReader(hw, -1, 0);
77 cr = new CharArrayReader(hw, 0, -1);
83 cr = new CharArrayReader(hw, hw.length + 1, 1);
89 cr = new CharArrayReader(hw, 5, 5);
105 cr = new CharArrayReader(hw);
126 cr = new CharArrayReader(hw);
154 cr = new CharArrayReader(hw);
    [all...]

Completed in 489 milliseconds

1 2 3 4 5 6 7