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

1 2 3 4 5 6

  /external/srec/srec/clib/
voicing.c 45 void init_voicing_analysis(voicing_info *chan)
47 chan->count = -1;
48 chan->sil_count = 0;
49 chan->speech_count = 0;
50 chan->fast_count = 0;
57 long voicing_analysis(voicing_info *chan, voicedata enval , int* log)
62 if (chan->count < 0)
64 chan->b1 = SHIFT_UP(enval, 8);
65 chan->b0 = SHIFT_UP(enval, 8);
66 chan->count = -1
    [all...]
  /external/quake/quake/src/QW/client/
net_chan.c 162 void Netchan_Setup (netchan_t *chan, netadr_t adr, int qport)
164 memset (chan, 0, sizeof(*chan));
166 chan->remote_address = adr;
167 chan->last_received = realtime;
169 chan->message.data = chan->message_buf;
170 chan->message.allowoverflow = true;
171 chan->message.maxsize = sizeof(chan->message_buf)
    [all...]
net.h 104 void Netchan_Transmit (netchan_t *chan, int length, byte *data);
107 qboolean Netchan_Process (netchan_t *chan);
108 void Netchan_Setup (netchan_t *chan, netadr_t adr, int qport);
110 qboolean Netchan_CanPacket (netchan_t *chan);
111 qboolean Netchan_CanReliable (netchan_t *chan);
snd_dma.c 672 channel_t *chan; local
691 chan = &channels[ambient_channel];
692 chan->sfx = ambient_sfx[ambient_channel];
699 if (chan->master_vol < vol)
701 chan->master_vol += host_frametime * ambient_fade.value;
702 if (chan->master_vol > vol)
703 chan->master_vol = vol;
705 else if (chan->master_vol > vol)
707 chan->master_vol -= host_frametime * ambient_fade.value;
708 if (chan->master_vol < vol
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
emu8000_reg.h 38 #define EMU8000_CMD(reg, chan) ((reg)<<5 | (chan))
44 #define EMU8000_CPF_READ(emu, chan) \
45 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(0, (chan)))
46 #define EMU8000_PTRX_READ(emu, chan) \
47 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(1, (chan)))
48 #define EMU8000_CVCF_READ(emu, chan) \
49 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(2, (chan)))
50 #define EMU8000_VTFT_READ(emu, chan) \
51 snd_emu8000_peek_dw((emu), EMU8000_DATA0(emu), EMU8000_CMD(3, (chan)))
    [all...]
seq_midi_emul.h 83 void (*note_on)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
84 void (*note_off)(void *private_data,int note, int vel, struct snd_midi_channel *chan); /* release note */
85 void (*key_press)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
86 void (*note_terminate)(void *private_data, int note, struct snd_midi_channel *chan); /* terminate note immediately */
87 void (*control)(void *private_data, int type, struct snd_midi_channel *chan);
88 void (*nrpn)(void *private_data, struct snd_midi_channel *chan,
105 * The usage is eg: chan->gm_bank_select. Another implementation would
  /hardware/ti/wlan/wl1271/utils/
freq.h 47 TI_UINT32 Chan2Freq (TI_UINT8 chan);
freq.c 47 TI_UINT8 chan; member in struct:__anon19424
103 return ChanFreq[ i ].chan;
111 TI_UINT32 Chan2Freq (TI_UINT8 chan)
117 if (ChanFreq[ i ].chan == chan)
  /external/kernel-headers/original/linux/
dmaengine.h 83 * @client: ptr to the client user of this chan, will be %NULL when unused
91 * @client_node: used to add this to the client chan list
92 * @device_node: used to add this to the device chan list
115 static inline void dma_chan_get(struct dma_chan *chan)
117 if (unlikely(chan->slow_ref))
118 kref_get(&chan->refcount);
120 local_inc(&(per_cpu_ptr(chan->local, get_cpu())->refcount));
125 static inline void dma_chan_put(struct dma_chan *chan)
127 if (unlikely(chan->slow_ref))
128 kref_put(&chan->refcount, dma_chan_cleanup)
    [all...]
relay.h 39 struct rchan *chan; /* associated channel */ member in struct:rchan_buf
166 extern void relay_close(struct rchan *chan);
167 extern void relay_flush(struct rchan *chan);
168 extern void relay_subbufs_consumed(struct rchan *chan,
171 extern void relay_reset(struct rchan *chan);
179 * @chan: relay channel
190 static inline void relay_write(struct rchan *chan,
198 buf = chan->buf[smp_processor_id()];
199 if (unlikely(buf->offset + length > chan->subbuf_size))
208 * @chan: relay channe
    [all...]
  /frameworks/base/core/java/android/server/
BluetoothHealthProfileHandler.java 119 for (HealthChannel chan : mHealthChannels) {
120 if (chan.mConfig.equals(unregisterApp) &&
121 chan.mState != BluetoothHealth.STATE_CHANNEL_DISCONNECTED) {
122 disconnectChannel(chan.mDevice, unregisterApp, chan.mId);
139 HealthChannel chan = (HealthChannel)msg.obj;
141 mBluetoothService.getObjectPathFromAddress(chan.mDevice.getAddress());
142 String configPath = mHealthAppConfigs.get(chan.mConfig);
143 String channelType = getStringChannelType(chan.mChannelType);
146 channelType, chan.mId))
269 HealthChannel chan = findChannelById(id); local
335 HealthChannel chan = getMainChannel(device, config); local
386 HealthChannel chan = findChannelByPath(device, channelPath); local
407 HealthChannel chan = findChannelByPath(device, channelPath); local
595 List<HealthChannel> chan; local
    [all...]
  /frameworks/wilhelm/src/itf/
IMuteSolo.c 22 static SLresult IMuteSolo_SetChannelMute(SLMuteSoloItf self, SLuint8 chan, SLboolean mute)
37 } else if (numChannels <= chan) {
41 SLuint8 mask = 1 << chan;
58 static SLresult IMuteSolo_GetChannelMute(SLMuteSoloItf self, SLuint8 chan, SLboolean *pMute)
77 } else if (numChannels <= chan) {
82 mute = (SLboolean) ((mask >> chan) & 1);
94 static SLresult IMuteSolo_SetChannelSolo(SLMuteSoloItf self, SLuint8 chan, SLboolean solo)
109 } else if (numChannels <= chan) {
113 SLuint8 mask = 1 << chan;
130 static SLresult IMuteSolo_GetChannelSolo(SLMuteSoloItf self, SLuint8 chan, SLboolean *pSolo
    [all...]
  /external/bluetooth/bluez/plugins/
echo.c 43 static gboolean session_event(GIOChannel *chan,
53 err = g_io_channel_read(chan, (gchar *) buf, sizeof(buf), &len);
57 g_io_channel_write(chan, (const gchar *) buf, len, &written);
62 static gboolean connect_event(GIOChannel *chan,
71 sk = g_io_channel_unix_get_fd(chan);
124 static GIOChannel *chan = NULL; variable
132 chan = setup_rfcomm(23);
143 g_io_channel_unref(chan);
  /external/bluetooth/bluez/audio/
main.c 70 static void sco_server_cb(GIOChannel *chan, GError *err, gpointer data)
82 bt_io_get(chan, BT_IO_SCO, &err,
114 if (headset_connect_sco(device, chan) < 0)
124 if (gateway_connect_sco(device, chan) < 0)
129 sk = g_io_channel_unix_get_fd(chan);
137 g_io_channel_shutdown(chan, TRUE, NULL);
gateway.h 43 int gateway_connect_sco(struct audio_device *dev, GIOChannel *chan);
  /external/speex/libspeex/
mdf.c 694 int i,j, chan, speak; local
722 for (chan = 0; chan < C; chan++)
725 filter_dc_notch16(in+chan, st->notch_radius, st->input+chan*st->frame_size, st->frame_size, st->notch_mem+2*chan, C);
732 tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan])));
747 st->memD[chan] = st->input[chan*st->frame_size+i]
    [all...]
  /external/wpa_supplicant_8/src/ap/
hw_features.h 26 int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan);
53 static inline int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan)
hw_features.c 92 "chan=%d freq=%d MHz max_tx_power=%d dBm",
94 feature->channels[j].chan,
199 struct hostapd_channel_data *chan = local
201 if (!(chan->flag & HOSTAPD_CHAN_DISABLED) &&
202 chan->chan == sec_chan) {
396 " <%d,%d> (chan=%d%c) vs. <%d,%d>",
628 struct hostapd_channel_data *chan = local
630 if (chan->chan == iface->conf->channel)
654 struct hostapd_channel_data *chan = local
    [all...]
  /external/bluetooth/bluez/attrib/
utils.c 47 GIOChannel *chan; local
85 chan = bt_io_connect(BT_IO_L2CAP, connect_cb, NULL, NULL, &err,
93 chan = bt_io_connect(BT_IO_L2CAP, connect_cb, NULL, NULL, &err,
107 return chan;
  /external/bluetooth/bluez/input/
server.c 61 static void connect_event_cb(GIOChannel *chan, GError *err, gpointer data)
73 bt_io_get(chan, BT_IO_L2CAP, &gerr,
81 g_io_channel_shutdown(chan, TRUE, NULL);
87 ret = input_device_set_channel(&src, &dst, psm, chan);
94 int sk = g_io_channel_unix_get_fd(chan);
99 g_io_channel_shutdown(chan, TRUE, NULL);
142 static void confirm_event_cb(GIOChannel *chan, gpointer user_data)
149 bt_io_get(chan, BT_IO_L2CAP, &err,
164 server->confirm = g_io_channel_ref(chan);
176 g_io_channel_shutdown(chan, TRUE, NULL)
    [all...]
fakehid.h 32 gboolean (*event) (GIOChannel *chan, GIOCondition cond, gpointer data);
  /external/bluetooth/bluez/health/
hdp.c 90 static struct hdp_channel *hdp_channel_ref(struct hdp_channel *chan)
92 if (!chan)
95 chan->ref++;
97 DBG("health_channel_ref(%p): ref=%d", chan, chan->ref);
98 return chan;
101 static void free_health_channel(struct hdp_channel *chan)
103 if (chan->mdep == HDP_MDEP_ECHO) {
104 free_echo_data(chan->edata);
105 chan->edata = NULL
240 const struct hdp_channel *chan = a; local
248 const struct hdp_channel *chan = a; local
256 const struct hdp_channel *chan = a; local
436 struct hdp_channel *chan = user_data; local
507 struct hdp_channel *chan = dc_data->hdp_chann; local
657 struct hdp_channel *chan = user_data; local
814 struct hdp_channel *chan; local
868 struct hdp_channel *chan = data; local
951 struct hdp_channel *chan; local
1017 struct hdp_channel *chan; local
1138 struct hdp_channel *chan = l->data; local
1163 struct hdp_channel *chan; local
1463 struct hdp_channel *chan = data; local
1506 struct hdp_channel *chan = hdp_conn->hdp_chann; local
1547 struct hdp_channel *chan = data; local
    [all...]
  /external/bluetooth/bluez/test/
test-health-sink 76 chan = device.CreateChannel(app_path, "Any") variable
78 print chan
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
AdbHelper.java 203 * @param chan The socket channel that is connected to adb.
210 static AdbResponse readAdbResponse(SocketChannel chan, boolean readDiagString)
216 read(chan, reply);
230 read(chan, lenBuf);
246 read(chan, msg);
625 * @param chan the opened socket to read from. It must be in non-blocking
631 static void read(SocketChannel chan, byte[] data) throws TimeoutException, IOException {
632 read(chan, data, -1, DdmPreferences.getTimeOut());
642 * @param chan the opened socket to read from. It must be in non-blocking
648 static void read(SocketChannel chan, byte[] data, int length, int timeout
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/export/
TestOgreConvert.java 76 AnimChannel chan = control.createChannel(); local
77 chan.setAnim("Walk");

Completed in 423 milliseconds

1 2 3 4 5 6