/haiku/src/tests/add-ons/kernel/drivers/audio/ |
H A D | multi_audio_test.cpp | 254 printf("%4ld\t%-10s 0x%lx\t0x%lx\n", sDescription.channels[i].channel_id, 255 get_kind_name(sDescription.channels[i].kind), 256 sDescription.channels[i].designations, 257 sDescription.channels[i].connectors); 270 printf("%ld channels:\n ", channel_count()); 293 fprintf(stderr, "Setting enabled channels failed: %s\n", 348 printf("playback: buffer count %ld, channels %ld, buffer size %ld\n", 361 printf("record: buffer count %ld, channels %ld, buffer size %ld\n", 439 {"channels", do_channels, "Shows enabled/disabled channels"}, [all...] |
/haiku/src/add-ons/kernel/drivers/audio/echo/ |
H A D | echo.cpp | 158 echo_stream_set_audioparms(echo_stream *stream, uint8 channels, argument 183 open_params.Pipe.wInterleave = channels; 204 if ((stream->channels == channels) 212 format_params.wDataInterleave = channels == 1 ? 1 : 2; 249 stream->channels = channels; 252 frame_size = sample_size * stream->channels; 293 frame_size = sample_size * stream->channels; 360 stream->channels [all...] |
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | AudioControlInterface.cpp | 276 TRACE(UAC, "Out.channels num:%d\n", fOutChannelsNumber); 419 TRACE(UAC, "Out channels number:%d\n", fOutChannelsNumber); 420 TRACE(UAC, "Out channels config:%#06x\n", fChannelsConfig); 421 TRACE(UAC, "Out channels names:%d\n", fChannelNames); 519 // selector has the same channels number in the 749 TRACE(UAC, "Out channels number:%d\n", fOutChannelsNumber); 750 TRACE(UAC, "Out channels config:%#06x\n", fChannelsConfig); 751 TRACE(UAC, "Out channels names:%d\n", fChannelNames); 816 TRACE(UAC, "Out channels number:%d\n", fOutChannelsNumber); 817 TRACE(UAC, "Out channels confi 1082 uint32 channels = GetTerminalChannels(Channels, cluster, local 1152 uint32 channels = GetTerminalChannels(Channels, local 1173 uint32 channels = GetTerminalChannels(Channels, local 1285 _ListFeatureUnitOption(uint32 controlType, int32& index, int32 parentIndex, multi_mix_control_info* Info, FeatureUnit* unit, uint32 channel, uint32 channels) argument 1376 uint8 channels; member in struct:_ChannelInfo [all...] |
H A D | Device.cpp | 139 multi_channel_info channels[16]; local 146 originalChannels = description.channels; 147 description.channels = channels; 155 description.channels = originalChannels; 159 return user_memcpy(originalChannels, channels, 503 // channels (USB I/O terminals) are already in fStreams in outputs->inputs order. 515 // Description.request_channel_count = channels + bus_channels; 523 if (user_memcpy(multiDescription->channels, 559 // multi_channel_info* Channels = Description->channels; [all...] |
/haiku/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | pcm.c | 99 2, /* channels */ 228 if (port->config.channels == 2) 278 if (config->channels < 1) { 279 config->channels = default_pcm.channels; 281 if (config->channels > 2) { 282 config->channels = default_pcm.channels; 297 s = 256*config->channels*(config->format&0xf); 299 else for (s = 32*config->channels*(confi [all...] |
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioNode.cpp | 375 || (fDevice->Description().channels[i].designations 377 || ((fDevice->Description().channels[currentId].designations 379 && ((fDevice->Description().channels[i].designations 381 || (fDevice->Description().channels[i].designations 383 || ((fDevice->Description().channels[currentId].designations 385 && ((fDevice->Description().channels[i].designations 387 || (fDevice->Description().channels[i].designations 392 fDevice->Description().channels[i].channel_id, 393 fDevice->Description().channels[i].kind, 394 fDevice->Description().channels[ [all...] |
/haiku/src/add-ons/media/media-add-ons/esound_sink/ |
H A D | ESDEndpoint.cpp | 325 ESDEndpoint::SetFormat(int bits, int channels, float rate) argument 331 PRINT(("SetFormat(%d,%d,%f)\n", bits, channels, rate)); 342 switch (channels) {
|
/haiku/headers/private/audio/ |
H A D | hmulti_audio.h | 40 B_MULTI_SET_GLOBAL_FORMAT, /* always sets for all channels, always implemented */ 91 /* sample rate parameter global to all channels (input and output rates respectively) */ 117 /* format parameter global to all channels (input and output formats respectively) */ 175 channels; member in struct:multi_description 196 /* mono channels have no designation */ 328 int32 channels[100]; member in union:multi_get_event::__anon330 351 /* this must have bytes for all channels (see multi_description) */ 420 channels; 505 int32 * channels; /* allocated by caller, lists requested channels */ [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/ |
H A D | auich.c | 158 auich_stream_set_audioparms(auich_stream *stream, uint8 channels, argument 164 if ((stream->channels == channels) 174 stream->channels = channels; 177 frame_size = sample_size * stream->channels; 247 frame_size = sample_size * stream->channels; 324 stream->channels = 0;
|
H A D | multi.c | 592 if (stream->channels == 2) 597 for (i = 0; i < stream->channels; i++) { 691 // channels and input bus channels and finally auxillary channels, 696 memcpy(data->channels, card->multi.chans, size * sizeof(card->multi.chans[0])); 779 pchannels = card->pstream->channels; 780 rchannels = card->rstream->channels; 786 LOG(("not enough channels/buffers\n"));
|
/haiku/src/add-ons/media/media-add-ons/vst_host/ |
H A D | VSTHost.h | 35 //channels 152 void Process(float *buffer, int samples, int channels);
|
/haiku/src/tools/translation/pnginfo/ |
H A D | pnginfo.cpp | 145 printf(" channels: %d\n", pinfo->channels);
|
/haiku/src/add-ons/kernel/busses/ata/legacy_sata/ |
H A D | legacy_sata.cpp | 126 device_node *channels[4]; local 197 // (happens during rescan; registering new channels would kick out old channels) 205 // ignore errors during registration of channels - could be a simple rescan collision 210 int_num, index, kChannelNames[index], &channels[index], false);
|
/haiku/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | emuxki.h | 85 uint8 channels; member in struct:__anon14 372 uint8 play_mode; // number of channels to be played : 2, 4, 6 411 status_t emuxki_stream_set_audioparms(emuxki_stream *stream, bool stereo, uint8 channels,
|
H A D | multi.c | 819 // channels and input bus channels and finally auxillary channels, 824 memcpy(data->channels, card->multi.chans, size * sizeof(card->multi.chans[0])); 923 LOG(("not enough channels/buffers\n")); 1263 emuxki_stream_set_audioparms(card->pstream, true, current_settings.channels, 1267 emuxki_stream_set_audioparms(card->rstream, true, current_settings.channels, 1269 emuxki_stream_set_audioparms(card->rstream2, true, current_settings.channels, 1271 recparams.efx_voices[0] = 3; // channels 1,2 1277 card->pstream2->first_channel = current_settings.channels; [all...] |
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioProducer.cpp | 868 int32 channels = fOutput.format.u.raw_audio.channel_count; local 869 float max[channels]; 870 float min[channels]; 871 for (int32 i = 0; i < channels; i++) { 877 for (int32 k = 0; k < channels; k++) { 886 for (int32 i = 0; i < channels; i++) {
|
/haiku/src/kits/interface/ |
H A D | ChannelSlider.cpp | 78 BMessage* model, int32 channels, uint32 resizeMode, uint32 flags) 79 : BChannelControl(area, name, label, model, channels, resizeMode, flags) 86 BMessage* model, orientation orientation, int32 channels, 88 : BChannelControl(area, name, label, model, channels, resizeMode, flags) 97 BMessage* model, orientation orientation, int32 channels, 99 : BChannelControl(name, label, model, channels, flags) 77 BChannelSlider(BRect area, const char* name, const char* label, BMessage* model, int32 channels, uint32 resizeMode, uint32 flags) argument 85 BChannelSlider(BRect area, const char* name, const char* label, BMessage* model, orientation orientation, int32 channels, uint32 resizeMode, uint32 flags) argument 96 BChannelSlider(const char* name, const char* label, BMessage* model, orientation orientation, int32 channels, uint32 flags) argument
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_multi.cpp | 90 memcpy(data->channels, &sChannels, sizeof(sChannels)); 664 TRACE("playback: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 " samples\n", 667 TRACE("record: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 " samples\n", 864 multi_channel_info channels[16]; local 871 originalChannels = description.channels; 872 description.channels = channels; 880 description.channels = originalChannels; 884 return user_memcpy(originalChannels, channels, sizeof(multi_channel_info)
|
/haiku/src/apps/cortex/addons/Flanger/ |
H A D | FlangerNode.cpp | 1454 uint32 channels = m_format.u.raw_audio.channel_count; local 1457 uint32 samples = input.frames() * channels; 1479 uint32 pos = readFrameLo * channels; 1495 pos = (uint32)hiWrap * channels; 1519 uint32 delayWritePos = m_delayWriteFrame * channels;
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/ |
H A D | multi.c | 382 if (stream->channels == 2) 387 for (i = 0; i < stream->channels; i++) { 462 // channels and input bus channels and finally auxillary channels, 468 memcpy(data->channels, card->multi.chans, size * sizeof(card->multi.chans[0])); 567 pchannels = card->pstream->channels; 568 rchannels = card->rstream->channels; 574 LOG(("not enough channels/buffers\n"));
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGIImage.cpp | 147 // channels number of channels per pixel 153 uint16 channels, uint32 bytesPerChannel, 158 width < 1 || height < 1 || channels < 1 || 172 _WriteShort(fChannelCount = channels); 151 SetTo(BPositionIO* stream, uint16 width, uint16 height, uint16 channels, uint32 bytesPerChannel, uint32 compression) argument
|
/haiku/src/apps/soundrecorder/ |
H A D | RecorderWindow.cpp | 88 uint16 channels; member in struct:format_struct 425 fChannels = new BStringView(r, "channels", B_TRANSLATE("Channels:")); 967 header.format.channels = fRecordFormat.u.raw_audio.channel_count; 1112 BString channels = B_TRANSLATE("Channels: "); 1113 channels << fPlayFormat.u.raw_audio.channel_count; 1125 fChannels->SetText(channels.String()); 1367 header.format.channels = fPlayFormat.u.raw_audio.channel_count;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/ |
H A D | if_iwireg.h | 470 uint8_t channels[IWI_SCAN_CHANNELS]; member in struct:iwi_scan 492 uint8_t channels[IWI_SCAN_CHANNELS]; member in struct:iwi_scan_ext
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/ |
H A D | multi.c | 597 if (stream->channels == 2) 602 for (i = 0; i < stream->channels; i++) { 708 // channels and input bus channels and finally auxillary channels, 713 memcpy(data->channels, card->multi.chans, size * sizeof(card->multi.chans[0])); 801 pchannels = card->pstream->channels; 802 rchannels = card->rstream->channels; 808 LOG(("not enough channels/buffers\n"));
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVCodecEncoder.cpp | 255 return context->channels; 266 context->channels = count; 354 // channels
|