/haiku/src/apps/mediaplayer/ |
H A D | Controller.cpp | 348 audioChannels = audioTrackFormat.u.raw_audio.channel_count; 513 return format.u.encoded_audio.output.channel_count;
|
H A D | InfoWin.cpp | 477 uint32 channelCount = audioFormat.channel_count;
|
/haiku/src/apps/mediaconverter/ |
H A D | MediaFileInfo.cpp | 121 if (raf->channel_count == 1) { 124 } else if (raf->channel_count == 2) { 129 raf->frame_rate / 1000.f, (long int)raf->channel_count);
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVFormatReader.cpp | 1097 format->u.raw_audio.channel_count = get_channel_count(codecParams); 1122 format->u.encoded_audio.output.channel_count = get_channel_count(codecParams);
|
H A D | AVCodecDecoder.cpp | 406 outputAudioFormat.channel_count = get_channel_count(fCodecContext); 420 * outputAudioFormat.channel_count; 430 fOutputFrameSize = sampleSize * outputAudioFormat.channel_count; 706 TODO: Handle change of channel_count. Such a change results in a change of 709 that were still decoded with the previous channel_count and inform the 775 - output.channel_count copied to fCodecContext->channels 806 int channel_count = static_cast<int>(containerProperties.output.channel_count); local 808 if (channel_count == 0) { 809 TRACE(" channel_count stil [all...] |
H A D | AVFormatWriter.cpp | 175 set_channel_count(fStream->codecpar, format->u.raw_audio.channel_count); 252 format->u.raw_audio.channel_count); 261 switch (format->u.raw_audio.channel_count) {
|
H A D | AVCodecEncoder.cpp | 355 set_channel_count(fCodecContext, fInputFormat.u.raw_audio.channel_count); 386 fInputFormat.u.raw_audio.channel_count); 395 switch (fInputFormat.u.raw_audio.channel_count) { 527 * fInputFormat.u.raw_audio.channel_count;
|
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioNode.cpp | 205 fOutputPreferredFormat.u.raw_audio.channel_count = 2; 219 * fOutputPreferredFormat.u.raw_audio.channel_count; 231 fInputPreferredFormat.u.raw_audio.channel_count 246 * fInputPreferredFormat.u.raw_audio.channel_count; 406 currentInput->fPreferredFormat.u.raw_audio.channel_count = 1; 422 currentInput->fPreferredFormat.u.raw_audio.channel_count++; 469 currentOutput->fPreferredFormat.u.raw_audio.channel_count = 1; 484 currentOutput->fPreferredFormat.u.raw_audio.channel_count++; 704 || with_format.u.raw_audio.channel_count <= 0 994 * channel->fOutput.format.u.raw_audio.channel_count) [all...] |
/haiku/src/add-ons/media/plugins/raw_decoder/ |
H A D | RawDecoderPlugin.cpp | 44 AudioBufferSize(int32 channel_count, uint32 sample_format, float frame_rate, bigtime_t buffer_duration = 50000 /* 50 ms */) argument 46 return (sample_format & 0xf) * channel_count * (size_t)((frame_rate * buffer_duration) / 1000000.0); 80 fInputFrameSize = fInputSampleSize * ioEncodedFormat->u.raw_audio.channel_count; 115 // ioEncodedFormat->u.raw_audio.channel_count, 190 ioDecodedFormat->u.raw_audio.channel_count = fInputFormat.u.raw_audio.channel_count; 195 fOutputFrameSize = fOutputSampleSize * ioDecodedFormat->u.raw_audio.channel_count; 209 // ioDecodedFormat->u.raw_audio.channel_count, 505 int32 samples = frames * fInputFormat.u.raw_audio.channel_count; 517 fSwapOutput(buffer, *frameCount * fInputFormat.u.raw_audio.channel_count); [all...] |
/haiku/src/apps/cortex/support/ |
H A D | MediaString.cpp | 286 if (format.channel_count != media_raw_audio_format::wildcard.channel_count) { 287 s << (empty ? "" : ", ") << forAudioChannelCount(format.channel_count); 620 if (channelCount == media_raw_audio_format::wildcard.channel_count) {
|
/haiku/src/tests/add-ons/kernel/drivers/audio/ |
H A D | multi_audio_test.cpp | 64 channel_count() function 253 for (uint32 i = 0 ; i < channel_count(); i++) { 268 uint32 enabled = ((1 << channel_count()) - 1) & sEnabledChannels; 270 printf("%ld channels:\n ", channel_count()); 271 for (uint32 i = 0; i < channel_count(); i++) { 287 uint32 enabled = ((1 << channel_count()) - 1) & sEnabledChannels;
|
/haiku/src/kits/media/ |
H A D | SoundPlayNode.cpp | 347 uint32 channel_count = 0; local 352 channel_count = *(uint32 *)&format->user_data[4]; 355 "channel_count %" B_PRId32 " , frame_rate %.1f\n", channel_count, frame_rate); 361 default_format.u.raw_audio.channel_count = channel_count > 0 362 ? channel_count : 2; 371 format->u.raw_audio.channel_count, format->u.raw_audio.format, 429 * fOutput.format.u.raw_audio.channel_count)) 514 * fOutput.format.u.raw_audio.channel_count); [all...] |
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioFormatConverter.cpp | 211 int32 channelCount = fFormat.u.raw_audio.channel_count;
|
H A D | AudioResampler.cpp | 143 uint32 channelCount = fFormat.u.raw_audio.channel_count;
|
H A D | AudioChannelConverter.cpp | 104 int32 inChannels = fSource->Format().u.raw_audio.channel_count; 105 int32 outChannels = fFormat.u.raw_audio.channel_count;
|
H A D | AudioAdapter.cpp | 61 if (fFormat.u.raw_audio.channel_count != 0 62 && fFormat.u.raw_audio.channel_count 63 != source->Format().u.raw_audio.channel_count) { 65 source->Format().u.raw_audio.channel_count, 66 fFormat.u.raw_audio.channel_count);
|
/haiku/src/apps/mediaplayer/media_node_framework/ |
H A D | NodeManager.cpp | 505 audioFormat.u.raw_audio.channel_count = audioChannels;
|
/haiku/src/apps/cortex/addons/common/ |
H A D | AudioFilterNode.cpp | 105 f.channel_count = 1; 188 if(f.channel_count == w.channel_count) { 189 ASSERT(p.channel_count); 190 f.channel_count = p.channel_count;
|
/haiku/src/add-ons/media/plugins/au_reader/ |
H A D | au_reader.cpp | 101 TRACE(" channel_count %ld\n", UINT32(header.channel_count)); 105 fChannelCount = UINT32(header.channel_count); 223 fFormat.u.raw_audio.channel_count = fChannelCount; 257 fFormat.u.encoded_audio.output.channel_count = fChannelCount;
|
/haiku/src/add-ons/media/plugins/ape_reader/ |
H A D | APEReader.cpp | 124 oFormat->u.raw_audio.channel_count = mDecomp->GetInfo(APE_INFO_CHANNELS);
|
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundNode.cpp | 139 int32 channels = fInput.format.u.raw_audio.channel_count; 353 fPreferredFormat.u.raw_audio.channel_count = 2; 372 * fPreferredFormat.u.raw_audio.channel_count; 549 // output->fPreferredFormat.u.raw_audio.channel_count 677 format->u.raw_audio.channel_count 678 = channel->fPreferredFormat.u.raw_audio.channel_count; 686 * format->u.raw_audio.channel_count; 1227 * channel->fOutput.format.u.raw_audio.channel_count)
|
H A D | OpenSoundDeviceEngine.cpp | 326 info->samples = cinfo.bytes / (fMediaFormat.u.raw_audio.channel_count 485 //format.u.raw_audio.channel_count = Info()->max_channels; 498 //format.u.encoded_audio.output.channel_count = Info()->max_channels; 536 raw.channel_count = MAX((unsigned)(Info()->min_channels), MIN((unsigned)(Info()->max_channels), raw.channel_count)); 537 err = SetChannels(raw.channel_count); 599 raw.channel_count = MAX((unsigned)(Info()->min_channels), MIN((unsigned)(Info()->max_channels), raw.channel_count)); 681 if (raw.channel_count == 0) 682 raw.channel_count [all...] |
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerCore.cpp | 440 fMixBufferChannelCount = format.channel_count; 442 fMixBufferChannelTypes = new int32 [format.channel_count];
|
H A D | MixerInput.cpp | 49 ASSERT(fInput.format.u.raw_audio.channel_count > 0); 54 fInputChannelCount = fInput.format.u.raw_audio.channel_count; 513 int channel_count; local 531 channel_count = count_nonzero_bits(all_bits); 533 "channels (%d old)\n", fInputChannelCount, channel_count, 535 if (channel_count != fMixerChannelCount) { 537 fMixerChannelInfo = new mixer_chan_info[channel_count]; 538 fMixerChannelCount = channel_count;
|
H A D | AudioMixer.cpp | 117 fDefaultFormat.u.raw_audio.channel_count = 2; 246 uint32 channel_count = output ? output->MediaOutput().format.u.raw_audio.channel_count : 0; local 251 *(uint32 *)&ioFormat->user_data[4] = channel_count; 818 if (format->u.raw_audio.channel_count == 0 824 uint32 channel_count = *(uint32 *)&format->user_data[4]; local 826 if (channel_count > 0 && frame_rate > 0) { 828 format->u.raw_audio.channel_count = channel_count; 842 format->u.raw_audio.channel_count [all...] |