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

1234

/haiku/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.cpp58 inputFormat.channel_count = d;
67 outputFormat.channel_count = d;
94 *(uint32*)data = inputFormat.channel_count;
104 *(uint32*)data = outputFormat.channel_count;
/haiku/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/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);
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/plugins/au_reader/
H A Dau.h34 uint32 channel_count; // number of channels member in struct:snd_header
/haiku/src/apps/cortex/addons/common/
H A DAudioBuffer.cpp64 (format.format & 0x0f) * format.channel_count,
77 (format.format & 0x0f) * format.channel_count,
95 (format.format & 0x0f) * 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;
387 size_t channels = m_format.channel_count;
[all...]
H A DSoundUtils.cpp68 return bytesPerSample * format.channel_count;
/haiku/src/kits/game/
H A DGSUtility.cpp100 dest->channel_count = source->channel_count;
H A DSimpleGameSound.cpp62 = get_sample_size(format->format) * format->channel_count;
177 uchar * data = new uchar[frames * gsformat.channel_count];
185 int64 position = framesTotal * gsformat.channel_count;
202 = get_sample_size(gsformat.format) * gsformat.channel_count;
/haiku/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
H A Dpush_game_sound_triangle.cpp52 gsFormat.channel_count = 1;
/haiku/headers/os/midi/
H A DSamples.h20 int16 channel_count, double pitch, int32 loopStart, int32 loopEnd,
/haiku/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/src/kits/interface/
H A DChannelControl.cpp47 const char* label, BMessage* model, int32 channel_count,
51 fChannelCount(channel_count),
59 fChannelMin = new int32[channel_count];
60 memset(fChannelMin, 0, sizeof(int32) * channel_count);
62 fChannelMax = new int32[channel_count];
63 for (int32 i = 0; i < channel_count; i++)
66 fChannelValues = new int32[channel_count];
67 memset(fChannelValues, 0, sizeof(int32) * channel_count);
389 BChannelControl::SetChannelCount(int32 channel_count) argument
391 if (channel_count <
46 BChannelControl(BRect frame, const char* name, const char* label, BMessage* model, int32 channel_count, uint32 resizingMode, uint32 flags) argument
[all...]
/haiku/headers/os/game/
H A DGameSoundDefs.h37 uint32 channel_count; member in struct:gs_audio_format
/haiku/src/apps/cortex/addons/NullFilter/
H A DNullFilterAddOn.cpp72 ioFormat.u.raw_audio.channel_count = 1;
83 ioFormat.u.raw_audio.channel_count = 1;
/haiku/src/add-ons/media/media-add-ons/vst_host/
H A DVSTNode.cpp70 fPreferredFormat.u.raw_audio.channel_count =
71 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/src/add-ons/media/media-add-ons/equalizer/
H A DEqualizerNode.cpp72 fPreferredFormat.u.raw_audio.channel_count =
73 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/src/apps/mediaconverter/
H A DMediaFileInfo.cpp121 if (raf->channel_count == 1) {
124 } else if (raf->channel_count == 2) {
129 raf->frame_rate / 1000.f, raf->channel_count);
/haiku/src/apps/cortex/addons/Flanger/
H A DFlangerNode.cpp1108 ioFormat.u.raw_audio.channel_count = 1;
1160 if(pref.channel_count != wild.channel_count) {
1161 if(f.channel_count != pref.channel_count) {
1162 if(f.channel_count != wild.channel_count)
1164 f.channel_count = pref.channel_count;
1219 if (f.channel_count
[all...]
/haiku/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,
505 int32 samples = frames * fInputFormat.u.raw_audio.channel_count;
517 fSwapOutput(buffer, *frameCount * fInputFormat.u.raw_audio.channel_count);
[all...]
/haiku/src/tests/kits/media/soundplayer/
H A DSimplePlayerTest.cpp27 uint32 channelCount = format.channel_count;
/haiku/src/kits/midi/
H A DSamples.cpp46 int16 channel_count, double pitch, int32 loopStart, int32 loopEnd,
44 Start( void* sampleData, int32 frames, int16 bytes_per_sample, int16 channel_count, double pitch, int32 loopStart, int32 loopEnd, double sampleVolume, double stereoPosition, int32 hook_arg, sample_loop_hook pLoopContinueProc, sample_exit_hook pDoneProc) argument

Completed in 315 milliseconds

1234