/haiku/src/apps/cortex/addons/AudioAdapter/ |
H A D | AudioAdapterNode.cpp | 67 media_format& ioFormat) { in getRequiredInputFormat() argument 69 status_t err = getPreferredInputFormat(ioFormat); in getRequiredInputFormat() 74 ioFormat.u.raw_audio.byte_order = media_raw_audio_format::wildcard.byte_order; in getRequiredInputFormat() 84 ioFormat.u.raw_audio.format = p->inputFormat.format; in getRequiredInputFormat() 85 ioFormat.u.raw_audio.channel_count = p->inputFormat.channel_count; in getRequiredInputFormat() 89 ioFormat.u.raw_audio.buffer_size = media_raw_audio_format::wildcard.buffer_size; in getRequiredInputFormat() 93 ioFormat.u.raw_audio.frame_rate = media_raw_audio_format::wildcard.frame_rate; in getRequiredInputFormat() 102 media_format& ioFormat) { in getPreferredInputFormat() argument 104 status_t err = _inherited::getPreferredInputFormat(ioFormat); in getPreferredInputFormat() 111 media_raw_audio_format& f = ioFormat.u.raw_audio; in getPreferredInputFormat() [all …]
|
H A D | AudioAdapterNode.h | 50 status_t getRequiredInputFormat(media_format& ioFormat); 51 status_t getPreferredInputFormat(media_format& ioFormat); 52 status_t getRequiredOutputFormat(media_format& ioFormat); 54 status_t getPreferredOutputFormat(media_format& ioFormat);
|
/haiku/src/apps/cortex/addons/common/ |
H A D | AudioFilterNode.h | 93 media_format& ioFormat) { return getPreferredInputFormat(ioFormat); } in getRequiredInputFormat() argument 96 media_format& ioFormat) { return getPreferredOutputFormat(ioFormat); } in getRequiredOutputFormat() argument 110 media_format& ioFormat); 112 media_format& ioFormat); 135 media_format& ioFormat) { in specializeInputFormat() argument 144 _specialize_raw_audio_format(preferred, ioFormat); in specializeInputFormat() 148 media_format& ioFormat) { in specializeOutputFormat() argument 151 string_for_format(ioFormat, fmt_buffer, 255); in specializeOutputFormat() 169 _specialize_raw_audio_format(preferred, ioFormat); in specializeOutputFormat() 171 string_for_format(ioFormat, fmt_buffer, 255); in specializeOutputFormat() [all …]
|
H A D | AudioFilterNode.cpp | 92 media_format& ioFormat) { in getPreferredInputFormat() argument 93 return getPreferredOutputFormat(ioFormat); in getPreferredInputFormat() 97 media_format& ioFormat) { in getPreferredOutputFormat() argument 99 if(ioFormat.type != B_MEDIA_RAW_AUDIO) in getPreferredOutputFormat() 102 media_raw_audio_format& f = ioFormat.u.raw_audio; in getPreferredOutputFormat() 174 media_format& ioFormat) { in _specialize_raw_audio_format() argument 177 ASSERT(ioFormat.type == B_MEDIA_RAW_AUDIO); in _specialize_raw_audio_format() 179 media_raw_audio_format& f = ioFormat.u.raw_audio; in _specialize_raw_audio_format() 393 media_format* ioFormat) { in AcceptFormat() argument 403 if(ioFormat->type != B_MEDIA_RAW_AUDIO) { in AcceptFormat() [all …]
|
/haiku/src/apps/cortex/addons/NullFilter/ |
H A D | NullFilterAddOn.cpp | 67 media_format& ioFormat) { in getRequiredFormat() argument 69 if(ioFormat.type != B_MEDIA_RAW_AUDIO) in getRequiredFormat() 71 ioFormat.u.raw_audio = media_raw_audio_format::wildcard; in getRequiredFormat() 72 ioFormat.u.raw_audio.channel_count = 1; in getRequiredFormat() 78 media_format& ioFormat) { in getPreferredFormat() argument 79 status_t err = _inherited::getPreferredFormat(ioFormat); in getPreferredFormat() 83 ioFormat.u.raw_audio.channel_count = 1; in getPreferredFormat()
|
/haiku/src/apps/cortex/addons/Flanger/ |
H A D | FlangerNode.cpp | 1104 media_format& ioFormat) { in getPreferredFormat() argument 1105 ASSERT(ioFormat.type == B_MEDIA_RAW_AUDIO); in getPreferredFormat() 1107 ioFormat.u.raw_audio = media_raw_audio_format::wildcard; in getPreferredFormat() 1108 ioFormat.u.raw_audio.channel_count = 1; in getPreferredFormat() 1109 ioFormat.u.raw_audio.format = media_raw_audio_format::B_AUDIO_FLOAT; in getPreferredFormat() 1204 media_format& ioFormat) { in specializeOutputFormat() argument 1207 string_for_format(ioFormat, formatStr, 255); in specializeOutputFormat() 1211 ASSERT(ioFormat.type == B_MEDIA_RAW_AUDIO); in specializeOutputFormat() 1214 media_raw_audio_format& f = ioFormat.u.raw_audio; in specializeOutputFormat() 1233 string_for_format(ioFormat, formatStr, 255); in specializeOutputFormat()
|
H A D | FlangerNode.h | 313 media_format& ioFormat); 329 media_format& ioFormat);
|
/haiku/docs/develop/media/ |
H A D | MediaExtractorAddOn.h | 424 media_format * ioFormat) = 0; 489 virtual status_t NegotiateOutputFormat(media_format * ioFormat) { in NegotiateOutputFormat() argument 490 return BExtractor::NegotiateOutputFormat(ioFormat); in NegotiateOutputFormat()
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | AudioMixer.cpp | 212 AudioMixer::AcceptFormat(const media_destination &dest, media_format *ioFormat) in AcceptFormat() argument 214 PRINT_FORMAT("AudioMixer::AcceptFormat: ", *ioFormat); in AcceptFormat() 225 if (ioFormat->type == B_MEDIA_UNKNOWN_TYPE) in AcceptFormat() 226 ioFormat->type = B_MEDIA_RAW_AUDIO; in AcceptFormat() 229 if (ioFormat->type != B_MEDIA_RAW_AUDIO) in AcceptFormat() 241 ioFormat->user_data_type = FORMAT_USER_DATA_TYPE; in AcceptFormat() 242 *(uint32 *)&ioFormat->user_data[0] = FORMAT_USER_DATA_MAGIC_1; in AcceptFormat() 243 *(uint32 *)&ioFormat->user_data[4] = channel_count; in AcceptFormat() 244 *(float *)&ioFormat->user_data[20] = frame_rate; in AcceptFormat() 245 *(uint32 *)&ioFormat->user_data[44] = FORMAT_USER_DATA_MAGIC_2; in AcceptFormat() [all …]
|
/haiku/headers/os/media/ |
H A D | BufferProducer.h | 57 media_format* ioFormat) = 0; 68 media_format* ioFormat,
|
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioProducer.h | 44 media_format* ioFormat,
|
H A D | AudioProducer.cpp | 279 const media_destination& destination, media_format* ioFormat, in FormatChangeRequested() argument 297 return ChangeFormat(ioFormat); in FormatChangeRequested()
|
/haiku/src/apps/mediaplayer/media_node_framework/video/ |
H A D | VideoProducer.h | 65 media_format* ioFormat, int32* _deprecated_);
|
H A D | VideoProducer.cpp | 254 const media_destination& destination, media_format* ioFormat, in FormatChangeRequested() argument 257 TOUCH(destination); TOUCH(ioFormat); TOUCH(_deprecated_); in FormatChangeRequested()
|
/haiku/src/add-ons/media/media-add-ons/vst_host/ |
H A D | VSTNode.h | 124 void SetOutputFormat(media_format& ioFormat);
|
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioNode.h | 102 media_format* ioFormat,
|