Searched refs:frequency (Results 1 - 25 of 57) sorted by relevance

123

/external/qemu/distrib/sdl-1.2.12/src/audio/sun/
H A DSDL_sunaudio.h42 int frequency; /* The audio frequency in KHz */ member in struct:SDL_PrivateAudioData
53 #define frequency (this->hidden->frequency) macro
H A DSDL_sunaudio.c147 sleepy = ((left - fragsize)/frequency);
349 frequency = 8;
358 frequency = spec->freq/1000;
/external/guava/src/com/google/common/collect/
H A DAbstractMapBasedMultiset.java117 AtomicInteger frequency = backingMap.get(getElement());
118 if (frequency != null) {
119 count = frequency.get();
144 for (AtomicInteger frequency : backingMap.values()) {
145 frequency.set(0);
163 AtomicInteger frequency = backingMap.remove(entry.getElement());
164 int numberRemoved = frequency.getAndSet(0);
214 int frequency = currentEntry.getValue().get();
215 if (frequency <= 0) {
227 AtomicInteger frequency
[all...]
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/
H A DSDL_mintaudio.c89 /* Add a new frequency/clock/predivisor to the current list */
90 void SDL_MintAudio_AddFrequency(_THIS, Uint32 frequency, Uint32 clock, argument
99 /* Search where to insert the frequency (highest first) */
101 if (frequency > MINTAUDIO_frequencies[p].frequency) {
114 MINTAUDIO_frequencies[p].frequency = frequency;
122 /* Search for the nearest frequency */
134 if (desired_freq >= ((MINTAUDIO_frequencies[i].frequency+
135 MINTAUDIO_frequencies[i+1].frequency)>>
[all...]
H A DSDL_mintaudio.h43 Uint32 frequency; member in struct:__anon3467
52 int numfreq; /* Number of selected frequency */
136 void SDL_MintAudio_AddFrequency(_THIS, Uint32 frequency, Uint32 clock,
H A DSDL_mintaudio_stfa.h89 unsigned short frequency; member in struct:__anon3474
/external/bluetooth/bluez/sbc/
H A Dsbcdec.c53 int format = AFMT_S16_BE, frequency, channels; local
105 switch (sbc.frequency) {
107 frequency = 16000;
111 frequency = 32000;
115 frequency = 44100;
119 frequency = 48000;
122 frequency = 0;
128 filename, frequency, sbc.subbands * 4 + 4, sbc.bitpool,
142 au_hdr.sample_rate = BE_INT(frequency);
163 if (ioctl(ad, SNDCTL_DSP_SPEED, &frequency) <
[all...]
H A Dsbc.h36 /* sampling frequency */
69 uint8_t frequency; member in struct:sbc_struct
H A Dsbcenc.c93 sbc.frequency = SBC_FREQ_16000;
96 sbc.frequency = SBC_FREQ_32000;
99 sbc.frequency = SBC_FREQ_44100;
102 sbc.frequency = SBC_FREQ_48000;
H A Dsbc.c56 uint8_t frequency; member in struct:sbc_frame
160 * the sampling frequency (as 2 bit integer)
164 uint8_t sf = frame->frequency;
384 frame->frequency = (data[1] >> 6) & 0x03;
767 data[1] = (frame->frequency & 0x03) << 6;
951 sbc->frequency = SBC_FREQ_44100;
1009 sbc->frequency = priv->frame.frequency;
1075 priv->frame.frequency = sbc->frequency;
1175 uint16_t frequency; local
[all...]
/external/bluetooth/bluez/audio/
H A Da2dp.h75 uint8_t frequency:4; member in struct:sbc_codec_cap
88 uint8_t frequency:6; member in struct:mpeg_codec_cap
98 uint8_t frequency:4; member in struct:sbc_codec_cap
114 uint8_t frequency:6; member in struct:mpeg_codec_cap
H A Dgstsbcutil.h47 gint gst_sbc_parse_rate_from_sbc(gint frequency);
H A Dgstavdtpsink.c289 cfg->frequency = BT_SBC_SAMPLING_FREQ_44100;
291 cfg->frequency = BT_SBC_SAMPLING_FREQ_48000;
293 cfg->frequency = BT_SBC_SAMPLING_FREQ_32000;
295 cfg->frequency = BT_SBC_SAMPLING_FREQ_16000;
543 if (sbc->frequency & BT_SBC_SAMPLING_FREQ_48000) {
547 if (sbc->frequency & BT_SBC_SAMPLING_FREQ_44100) {
551 if (sbc->frequency & BT_SBC_SAMPLING_FREQ_32000) {
555 if (sbc->frequency & BT_SBC_SAMPLING_FREQ_16000) {
667 if (mpeg->frequency & BT_MPEG_SAMPLING_FREQ_48000) {
671 if (mpeg->frequency
[all...]
H A Dliba2dp.c361 cap->frequency = BT_SBC_SAMPLING_FREQ_48000;
364 cap->frequency = BT_SBC_SAMPLING_FREQ_44100;
367 cap->frequency = BT_SBC_SAMPLING_FREQ_32000;
370 cap->frequency = BT_SBC_SAMPLING_FREQ_16000;
422 max_bitpool = MIN(default_bitpool(cap->frequency,
438 if (active_capabilities.frequency & BT_SBC_SAMPLING_FREQ_16000)
439 data->sbc.frequency = SBC_FREQ_16000;
441 if (active_capabilities.frequency & BT_SBC_SAMPLING_FREQ_32000)
442 data->sbc.frequency = SBC_FREQ_32000;
444 if (active_capabilities.frequency
[all...]
H A Dsource.c359 if (supported->frequency & SBC_SAMPLING_FREQ_44100)
360 cap->frequency = SBC_SAMPLING_FREQ_44100;
361 else if (supported->frequency & SBC_SAMPLING_FREQ_48000)
362 cap->frequency = SBC_SAMPLING_FREQ_48000;
363 else if (supported->frequency & SBC_SAMPLING_FREQ_32000)
364 cap->frequency = SBC_SAMPLING_FREQ_32000;
365 else if (supported->frequency & SBC_SAMPLING_FREQ_16000)
366 cap->frequency = SBC_SAMPLING_FREQ_16000;
413 max_bitpool = MIN(default_bitpool(cap->frequency, cap->channel_mode),
H A Dgstsbcutil.c129 gint gst_sbc_parse_rate_from_sbc(gint frequency) argument
131 switch (frequency) {
298 gst_sbc_parse_rate_from_sbc(sbc->frequency),
512 sbc->frequency = gst_sbc_parse_rate_to_sbc(rate);
H A Dunix.c449 mpeg->frequency & MPEG_SAMPLING_FREQ_16000 ? "16Khz " : "",
450 mpeg->frequency & MPEG_SAMPLING_FREQ_22050 ? "22.05Khz " : "",
451 mpeg->frequency & MPEG_SAMPLING_FREQ_24000 ? "24Khz " : "",
452 mpeg->frequency & MPEG_SAMPLING_FREQ_32000 ? "32Khz " : "",
453 mpeg->frequency & MPEG_SAMPLING_FREQ_44100 ? "44.1Khz " : "",
454 mpeg->frequency & MPEG_SAMPLING_FREQ_48000 ? "48Khz " : "",
474 sbc->frequency & SBC_SAMPLING_FREQ_16000 ? "16Khz " : "",
475 sbc->frequency & SBC_SAMPLING_FREQ_32000 ? "32Khz " : "",
476 sbc->frequency & SBC_SAMPLING_FREQ_44100 ? "44.1Khz " : "",
477 sbc->frequency
[all...]
H A Dipctest.c397 (cap->frequency & freq_table[i].cap)) {
399 cap->frequency = freq_table[i].cap;
405 if (cap->frequency & freq_table[i].cap) {
407 cap->frequency = freq_table[i].cap;
473 a2dp_default_bitpool(cap->frequency, cap->channel_mode),
493 switch (active_capabilities->frequency) {
495 a2dp->sbc.frequency = SBC_FREQ_16000;
498 a2dp->sbc.frequency = SBC_FREQ_32000;
501 a2dp->sbc.frequency = SBC_FREQ_44100;
504 a2dp->sbc.frequency
[all...]
H A Dpcm_bluetooth.c537 cap->frequency = BT_SBC_SAMPLING_FREQ_48000;
540 cap->frequency = BT_SBC_SAMPLING_FREQ_44100;
543 cap->frequency = BT_SBC_SAMPLING_FREQ_32000;
546 cap->frequency = BT_SBC_SAMPLING_FREQ_16000;
609 max_bitpool = MIN(default_bitpool(cap->frequency,
630 if (active_capabilities.frequency & BT_SBC_SAMPLING_FREQ_16000)
631 a2dp->sbc.frequency = SBC_FREQ_16000;
633 if (active_capabilities.frequency & BT_SBC_SAMPLING_FREQ_32000)
634 a2dp->sbc.frequency = SBC_FREQ_32000;
636 if (active_capabilities.frequency
[all...]
/external/qemu/distrib/sdl-1.2.12/src/audio/
H A DSDL_wave.h50 Uint32 frequency; /* One of 11025, 22050, or 44100 Hz */ member in struct:WaveFMT
/external/opencore/oscl/oscl/osclproc/src/
H A Doscl_timer.h114 * @param frequency The frequency of the timer in cycles/second. A value of
117 OsclTimer(const char *name, uint32 frequency = 1, int32 priority = OsclActiveObject::EPriorityNominal);
131 * Set the frequency of the timer in cycles/second.
133 * @param frequency A value of 1 means the timer will cycle in one second
136 void SetFrequency(uint32 frequency);
139 * Set the exact frequency of the timer in microsecond.
141 * @param frequency A value of 1 means the timer will cycle in one microsecond
144 void SetExactFrequency(uint32 frequency);
154 * the timer frequency i
211 OsclTimer(const char *name, uint32 frequency, int32 priority) argument
244 SetFrequency(uint32 frequency) argument
253 SetExactFrequency(uint32 frequency) argument
[all...]
/external/bluetooth/bluez/tools/
H A Davinfo.c175 uint8_t frequency:4; member in struct:sbc_codec_cap
188 uint8_t frequency:6; member in struct:mpeg_codec_cap
228 uint8_t frequency:4; member in struct:sbc_codec_cap
244 uint8_t frequency:6; member in struct:mpeg_codec_cap
277 if (mpeg->frequency & MPEG_SAMPLING_FREQ_16000)
279 if (mpeg->frequency & MPEG_SAMPLING_FREQ_22050)
281 if (mpeg->frequency & MPEG_SAMPLING_FREQ_24000)
283 if (mpeg->frequency & MPEG_SAMPLING_FREQ_32000)
285 if (mpeg->frequency & MPEG_SAMPLING_FREQ_44100)
287 if (mpeg->frequency
[all...]
/external/webkit/JavaScriptCore/profiler/
H A DProfileNode.cpp47 static LARGE_INTEGER frequency = {0}; local
48 if (!frequency.QuadPart)
49 QueryPerformanceFrequency(&frequency);
52 return static_cast<double>(counter.QuadPart) / frequency.QuadPart;
/external/wpa_supplicant_6/wpa_supplicant/
H A Dconfig_ssid.h327 * frequency - Channel frequency in megahertz (MHz) for IBSS
333 * configured SSID is already present, the frequency of the network
336 int frequency; member in struct:wpa_ssid
/external/opencore/protocols/systems/tools/general/common/src/
H A Dpvmf_buffer_data_source.cpp75 unsigned frequency = (iBitrate >> 3) / ave_sample_sz; local
76 iSampleInterval = 1000 / frequency;
77 iTimer .SetFrequency(frequency);

Completed in 178 milliseconds

123