/haiku/headers/os/app/ |
H A D | Application.h | 86 void SetPulseRate(bigtime_t rate);
|
/haiku/headers/os/media/ |
H A D | SoundPlayer.h | 169 int32 rate; member in struct:BSoundPlayer::playing_sound 179 int32 rate; member in struct:BSoundPlayer::waiting_sound
|
/haiku/headers/private/audio/ |
H A D | hmulti_audio.h | 71 /* sample rate values */ 89 /* continuously variable sample rate (typically board-generated) */ 91 /* sample rate parameter global to all channels (input and output rates respectively) */ 93 /* output sample rate locked to input sample rate (output_rates only; the common case!) */ 333 float out_rate; /* what rate it's now playing at */ 390 uint32 rate;
|
/haiku/headers/private/shared/ |
H A D | StringForRate.h | 14 const char* string_for_rate(double rate, char* string, size_t stringSize);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/ |
H A D | ac97.h | 156 CAP_VARIABLE_PCM = 0x0000000000000400ULL, /* variable rate PCM */ 157 CAP_DOUBLE_PCM = 0x0000000000000800ULL, /* double rate PCM */ 159 CAP_VARIABLE_MIC = 0x0000000000002000ULL, /* variable rate mic PCM */ 191 typedef bool (* codec_set_rate)(ac97_dev *dev, uint8 reg, uint32 rate); 192 typedef bool (* codec_get_rate)(ac97_dev *dev, uint8 reg, uint32 *rate); 237 bool ac97_set_rate(ac97_dev *dev, uint8 reg, uint32 rate); 238 bool ac97_get_rate(ac97_dev *dev, uint8 reg, uint32 *rate);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Mixer.cpp | 227 uint32 rate = 0; 228 if (!ac97_get_rate(fAC97Dev, AC97_PCM_FRONT_DAC_RATE, &rate)) { 231 if (rate == outputRate) { 232 TRACE("AC97 PCM Front DAC rate not set to %d\n", outputRate); 236 if (!ac97_set_rate(fAC97Dev, AC97_PCM_FRONT_DAC_RATE, rate)) 237 ERROR("Failed to set AC97 PCM Front DAC rate\n"); 239 TRACE("AC97 PCM Front DAC rate set to %d\n", outputRate);
|
H A D | Mixer.h | 38 void SetOutputRate(uint32 rate);
|
H A D | Stream.cpp | 37 fFormat.rate = B_SR_48000; 38 fFormat.cvsr = _DecodeRate(fFormat.rate); 109 Stream::_DecodeRate(uint32 rate) argument 111 switch(rate) { 123 ERROR("Rate:%x is not supported. Fall to default 48000\n", rate); 144 if (fFormat.rate == format.rate && fFormat.format == format.format) 147 if ((format.rate & rates) == 0 || (format.format & formats) == 0) { 148 ERROR("Unsupported data format:%x or rate:%x. Ignore.\n", 149 format.format, format.rate); [all...] |
H A D | Stream.h | 47 uint32 _DecodeRate(uint32 rate);
|
/haiku/src/add-ons/kernel/drivers/audio/hda/ |
H A D | hda_multi_audio.cpp | 235 data->output.rate = audioGroup->playback_stream->sample_rate; 238 data->output.rate = 0; 243 data->input.rate = audioGroup->record_stream->sample_rate; 246 data->input.rate = 0; 259 || (data->output.rate & audioGroup->supported_rates) == 0) 265 audioGroup->playback_stream->sample_rate = data->output.rate; 271 audioGroup->record_stream->sample_rate = data->input.rate; 919 default_buffer_length_for_rate(uint32 rate) argument 922 switch (rate) {
|
/haiku/src/add-ons/kernel/drivers/audio/ice1712/ |
H A D | multi.cpp | 391 data->input.rate = data->output.rate = B_SR_48000; 395 data->input.rate = data->output.rate = B_SR_96000; 399 data->input.rate = data->output.rate = B_SR_44100; 403 data->input.rate = data->output.rate = B_SR_88200; 422 data->input.rate); 424 data->output.rate); [all...] |
/haiku/src/add-ons/kernel/drivers/audio/null/ |
H A D | driver.h | 31 uint32 rate; member in struct:__anon1557
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | AudioStreamingInterface.h | 58 static usb_audio_sampling_freq GetSamFreq(uint32 rate); 118 uint32 GetSamplingRateId(uint32 rate);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/ |
H A D | if_iwireg.h | 254 // Used for passing to driver number of successes and failures per rate 300 uint8_t rate; member in struct:iwi_notif_link_quality 312 uint8_t rate; member in struct:iwi_frame 346 uint8_t rate; member in struct:iwi_tx_desc
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpi.c | 1863 rate2plcp(const uint8_t rate) argument 1865 switch (rate) { 1902 /* Quickly determine if a given rate is CCK or OFDM. */ 1903 #define WPI_RATE_IS_OFDM(rate) ((rate) >= 12 && (rate) != 22) 1936 " rate %x chan %d tstamp %ju\n", __func__, ring->cur, 2070 "qid %d idx %d retries %d btkillcnt %d rate %x duration %d " 2072 stat->btkillcnt, stat->rate, le32toh(stat->duration), status); 2086 * Update rate contro 2802 uint8_t tid, type, rate; local 2969 uint8_t ac, type, rate; local [all...] |
H A D | if_wpireg.h | 256 uint8_t rate; member in struct:wpi_tx_stat 903 /* HW rate indices. */
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malo.h | 267 /* lower rate after the retry count. 0 = legacy, 1 = HT */ 275 /* legacy rate(not index) or an MCS code. */ 288 /* use fixed rate specified but firmware can drop to */ 402 #define MALO_TXD_FORMAT 0x0001 /* frame format/rate */ 403 #define MALO_TXD_FORMAT_LEGACY 0x0000 /* legacy rate frame */ 404 #define MALO_TXD_RATE 0x01f8 /* tx rate (legacy)/ MCS */ 436 uint8_t rate; /* received data rate */ member in struct:malo_rxdesc 539 malo_fixedrate: 1, /* use fixed tx rate */
|
H A D | if_malohal.c | 629 * XXX preamble installed after set fixed rate cmd 849 malo_hal_set_rate(struct malo_hal *mh, uint16_t curmode, uint8_t rate) argument 873 if (rate != 0) { 874 /* fixed rate */ 876 if (cmd->aprates[i] == rate) {
|
H A D | if_malohal.h | 171 uint8_t mcastrate; /* rate for multicast frames */ 172 uint8_t mgtrate; /* rate for management frames */ 175 uint8_t rate; /* use this tx rate */ member in struct:malo_hal_txrate::__anon1206 176 } rateseries[4]; /* rate series */
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | mwlhal.c | 721 * XXX preamble installed after set fixed rate cmd 943 const MWL_HAL_TXRATE *rate) 954 pCmd->MulticastRate = RATEVAL(rate->McastRate); 955 pCmd->MultiRateTxType = RATETYPE(rate->McastRate); 956 /* NB: no rate type field */ 957 pCmd->ManagementRate = RATEVAL(rate->MgtRate); 964 htole32(RATEVAL(rate->RateSeries[0].Rate)); 966 htole32(RATETYPE(rate->RateSeries[0].Rate)); 974 if (rate->RateSeries[0].TryCount == 0) 977 htole32(RATETYPE(rate 942 mwl_hal_settxrate(struct mwl_hal_vap *vap, MWL_HAL_TXRATE_HANDLING handling, const MWL_HAL_TXRATE *rate) argument 996 mwl_hal_settxrate_auto(struct mwl_hal *mh0, const MWL_HAL_TXRATE *rate) argument [all...] |
H A D | mwlhal.h | 357 * Transmit rate control. Rate codes with bit 0x80 set are 359 * transmit rate can be set to a single fixed rate or can 360 * be configured to start at an initial rate and drop based 364 RATE_AUTO = 0, /* rate selected by firmware */ 365 RATE_FIXED = 2, /* rate fixed */ 366 RATE_FIXED_DROP = 1, /* rate starts fixed but may drop */ 370 uint8_t McastRate; /* rate for multicast frames */ 371 #define RATE_MCS 0x80 /* rate is an MCS index */ 372 uint8_t MgtRate; /* rate fo [all...] |
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | FTDI.cpp | 92 int32 rate = 0; local 96 case 300: rate = ftdi_sio_b300; break; 97 case 600: rate = ftdi_sio_b600; break; 98 case 1200: rate = ftdi_sio_b1200; break; 99 case 2400: rate = ftdi_sio_b2400; break; 100 case 4800: rate = ftdi_sio_b4800; break; 101 case 9600: rate = ftdi_sio_b9600; break; 102 case 19200: rate = ftdi_sio_b19200; break; 103 case 38400: rate = ftdi_sio_b38400; break; 104 case 57600: rate [all...] |
H A D | KLSI.cpp | 94 uint8 rate; local 96 case 300: rate = klsi_sio_b300; break; 97 case 600: rate = klsi_sio_b600; break; 98 case 1200: rate = klsi_sio_b1200; break; 99 case 2400: rate = klsi_sio_b2400; break; 100 case 4800: rate = klsi_sio_b4800; break; 101 case 9600: rate = klsi_sio_b9600; break; 102 case 19200: rate = klsi_sio_b19200; break; 103 case 38400: rate = klsi_sio_b38400; break; 104 case 57600: rate [all...] |
/haiku/src/add-ons/media/media-add-ons/esound_sink/ |
H A D | ESDEndpoint.h | 58 status_t SetFormat(int bits, int channels, float rate=ESD_DEFAULT_RATE);
|
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioDevice.cpp | 75 if (fFormatInfo.input.rate == multiAudioRate) 78 uint32 oldRate = fFormatInfo.input.rate; 79 fFormatInfo.input.rate = multiAudioRate; 85 fFormatInfo.input.rate = oldRate; 99 if (fFormatInfo.output.rate == multiAudioRate) 102 uint32 oldRate = fFormatInfo.output.rate; 103 fFormatInfo.output.rate = multiAudioRate; 109 fFormatInfo.output.rate = oldRate; 204 // Set the sample rate 207 fFormatInfo.output.rate [all...] |