Searched refs:channel_count (Results 1 - 25 of 113) sorted by relevance

12345

/haiku-fatelf/src/apps/cortex/addons/AudioAdapter/
H A DAudioAdapterNode.cpp77 // ioFormat.u.raw_audio.channel_count = media_raw_audio_format::wildcard.channel_count;
85 ioFormat.u.raw_audio.channel_count = p->inputFormat.channel_count;
88 // don't require a buffer size until format & channel_count are known [16sep99]
117 if(p->inputFormat.channel_count != w.channel_count)
118 f.channel_count = p->inputFormat.channel_count;
122 // ioFormat.u.raw_audio.channel_count
[all...]
H A DAudioAdapterParams.cpp54 inputFormat.channel_count = d;
63 outputFormat.channel_count = d;
90 *(uint32*)data = inputFormat.channel_count;
100 *(uint32*)data = outputFormat.channel_count;
/haiku-fatelf/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioAdapter.cpp61 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);
H A DAudioReader.cpp102 int32 sampleCount = frames * fFormat.u.raw_audio.channel_count;
133 int32 frameSize = sampleSize * fFormat.u.raw_audio.channel_count;
143 int32 frameSize = sampleSize * fFormat.u.raw_audio.channel_count;
/haiku-fatelf/src/kits/interface/
H A DChannelControl.cpp38 BMessage *model, int32 channel_count, uint32 resizeMode, uint32 flags)
40 fChannelCount(channel_count),
48 fChannelMin = new int32[channel_count];
49 memset(fChannelMin, 0, sizeof(int32) * channel_count);
51 fChannelMax = new int32[channel_count];
52 for (int32 i = 0; i < channel_count; i++)
55 fChannelValues = new int32[channel_count];
56 memset(fChannelValues, 0, sizeof(int32) * channel_count);
61 BMessage *model, int32 channel_count, uint32 flags)
63 fChannelCount(channel_count),
37 BChannelControl(BRect frame, const char *name, const char *label, BMessage *model, int32 channel_count, uint32 resizeMode, uint32 flags) argument
60 BChannelControl(const char *name, const char *label, BMessage *model, int32 channel_count, uint32 flags) argument
360 SetChannelCount(int32 channel_count) argument
578 SetLimitLabelsFor(int32 from_channel, int32 channel_count, const char *minLabel, const char *maxLabel) argument
[all...]
/haiku-fatelf/src/apps/cortex/addons/common/
H A DAudioBuffer.cpp63 (format.format & 0x0f) * format.channel_count,
76 (format.format & 0x0f) * format.channel_count,
94 (format.format & 0x0f) * format.channel_count,
114 m_frameSize = (m_format.format & 0x0f) * m_format.channel_count;
182 m_format.channel_count == target.m_format.channel_count;
211 uint32 toCopy = frames * m_format.channel_count;
221 uint32 sampleSize = m_frameSize / m_format.channel_count;
281 size_t channels = m_format.channel_count;
334 size_t channels = m_format.channel_count;
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/opensound/
H A DSupportFunctions.h13 int32 channelCount = format.u.raw_audio.channel_count;
H A DOpenSoundDeviceEngine.cpp326 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);
597 raw.channel_count = MAX((unsigned)(Info()->min_channels), MIN((unsigned)(Info()->max_channels), raw.channel_count));
677 if (raw.channel_count == 0)
678 raw.channel_count
[all...]
/haiku-fatelf/src/add-ons/media/plugins/aiff_reader/
H A Daiff.h60 uint16 channel_count; member in struct:comm_chunk
/haiku-fatelf/src/add-ons/media/plugins/au_reader/
H A Dau.h34 uint32 channel_count; // number of channels member in struct:snd_header
/haiku-fatelf/src/tests/kits/game/push_game_sound_test/
H A Dpush_game_sound_test.cpp89 printf("channel count: %ld\n", format.u.raw_audio.channel_count);
95 gsFormat.channel_count = format.u.raw_audio.channel_count;
125 * format.u.raw_audio.channel_count
155 decodedSize += frameCount * format.u.raw_audio.channel_count
/haiku-fatelf/headers/os/game/
H A DGameSoundDefs.h46 uint32 channel_count; // 1 or 2, mostly member in struct:gs_audio_format
/haiku-fatelf/headers/os/midi/
H A DSamples.h20 int16 channel_count, double pitch, int32 loopStart, int32 loopEnd,
/haiku-fatelf/src/add-ons/media/media-add-ons/dvb/
H A Dmedia_header_ex.h33 uint32 channel_count; // NEW! member in struct:media_audio_header_ex
/haiku-fatelf/src/apps/cortex/addons/audioOps/
H A DAudioAdapterOp.cpp87 // - source and destination channel_count must be identical
110 int32 inChannels = source.format().channel_count;
112 int32 outChannels = destination.format().channel_count;
157 // - source and destination channel_count must be identical
180 int32 inChannels = source.format().channel_count;
182 int32 outChannels = destination.format().channel_count;
245 int32 inChannels = source.format().channel_count;
247 int32 outChannels = destination.format().channel_count;
304 int32 inChannels = source.format().channel_count;
306 int32 outChannels = destination.format().channel_count;
[all...]
/haiku-fatelf/src/add-ons/media/plugins/musepack/
H A DMusePackDecoder.cpp53 format->u.raw_audio.channel_count = fDecoder->fInfo->simple.Channels;
60 format->u.raw_audio.channel_mask = (format->u.raw_audio.channel_count == 1) ?
/haiku-fatelf/src/apps/cortex/addons/NullFilter/
H A DNullFilterAddOn.cpp68 ioFormat.u.raw_audio.channel_count = 1;
79 ioFormat.u.raw_audio.channel_count = 1;
/haiku-fatelf/src/kits/game/
H A DGSUtility.cpp100 dest->channel_count = source->channel_count;
/haiku-fatelf/src/add-ons/media/media-add-ons/equalizer/
H A DEqualizerNode.cpp75 fPreferredFormat.u.raw_audio.channel_count =
76 media_raw_audio_format::wildcard.channel_count;
424 * fFormat.u.raw_audio.channel_count;
582 if(pref.channel_count != wild.channel_count &&
583 f.channel_count != pref.channel_count) {
584 if(f.channel_count != wild.channel_count)
586 f.channel_count
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/vst_host/
H A DVSTNode.cpp73 fPreferredFormat.u.raw_audio.channel_count =
74 media_raw_audio_format::wildcard.channel_count;
422 fFormat.u.raw_audio.channel_count;
565 if(pref.channel_count != wild.channel_count &&
566 f.channel_count != pref.channel_count) {
567 if(f.channel_count != wild.channel_count)
569 f.channel_count
[all...]
/haiku-fatelf/src/apps/mediaconverter/
H A DMediaFileInfo.cpp111 if (raf->channel_count == 1) {
115 } else if (raf->channel_count == 2) {
122 raf->frame_rate / 1000.f, raf->channel_count, audioFrames);
/haiku-fatelf/src/add-ons/media/plugins/raw_decoder/
H A DRawDecoderPlugin.cpp44 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,
503 int32 samples = frames * fInputFormat.u.raw_audio.channel_count;
515 fSwapOutput(buffer, *frameCount * fInputFormat.u.raw_audio.channel_count);
[all...]
/haiku-fatelf/src/apps/cortex/addons/Flanger/
H A DFlangerNode.cpp1104 ioFormat.u.raw_audio.channel_count = 1;
1156 if(pref.channel_count != wild.channel_count) {
1157 if(f.channel_count != pref.channel_count) {
1158 if(f.channel_count != wild.channel_count)
1160 f.channel_count = pref.channel_count;
1215 if(f.channel_count
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dchannel.c67 unsigned channel_count; member in struct:__anon5094
108 if (channel < cg->channel_count)
126 if (cg->channel_count > 0)
127 for (i = 0; i < cg->channel_count; i++)
139 cg->channel_count = 0;
176 if (channel >= cg->channel_count)
199 if (channel >= cg->channel_count)
201 unsigned oc = cg->channel_count;
206 if (channel >= cg->channel_count)
207 cg->channel_count
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/mixer/
H A DMixerUtils.cpp77 switch (format->channel_count) {
133 if (count_nonzero_bits(format->channel_mask) != (int)format->channel_count) {
141 if (format->channel_count == 1
246 return format.channel_count * (format.format & 0xf);

Completed in 251 milliseconds

12345