Cortex: delete old B_BEOS_VERSION ifdefs.
This commit is contained in:
parent
7dc141827a
commit
90f65a8853
@ -179,7 +179,6 @@ void ExportContext::beginContent() {
|
||||
\
|
||||
writeString(out);
|
||||
|
||||
#if B_BEOS_VERSION > B_BEOS_VERSION_4_5
|
||||
void ExportContext::writeAttr(
|
||||
const char* key,
|
||||
int8 value) {_WRITE_ATTR_BODY(value)}
|
||||
@ -195,7 +194,6 @@ void ExportContext::writeAttr(
|
||||
void ExportContext::writeAttr(
|
||||
const char* key,
|
||||
uint16 value) {_WRITE_ATTR_BODY(uint32(value))}
|
||||
#endif
|
||||
|
||||
void ExportContext::writeAttr(
|
||||
const char* key,
|
||||
|
@ -128,7 +128,6 @@ public: // *** XML formatting helpers
|
||||
// [e.moon 22dec99]
|
||||
// non-template forms of writeAttr()
|
||||
|
||||
#if B_BEOS_VERSION > B_BEOS_VERSION_4_5
|
||||
void writeAttr(
|
||||
const char* key,
|
||||
int8 value);
|
||||
@ -144,7 +143,6 @@ public: // *** XML formatting helpers
|
||||
void writeAttr(
|
||||
const char* key,
|
||||
uint16 value);
|
||||
#endif
|
||||
|
||||
void writeAttr(
|
||||
const char* key,
|
||||
|
@ -583,8 +583,6 @@ void export_raw_audio_attr(
|
||||
}
|
||||
}
|
||||
|
||||
#if B_BEOS_VERSION > B_BEOS_VERSION_4_5
|
||||
|
||||
void export_multi_audio_info_attr(
|
||||
const media_multi_audio_info& f,
|
||||
ExportContext& context) {
|
||||
@ -600,7 +598,6 @@ void export_multi_audio_info_attr(
|
||||
if(f.matrix_mask != w.matrix_mask)
|
||||
context.writeAttr(gKey_matrix_mask, f.matrix_mask);
|
||||
}
|
||||
#endif
|
||||
|
||||
void export_video_display_info_attr(
|
||||
const media_video_display_info& d,
|
||||
@ -842,9 +839,7 @@ void export_encoded_audio_content(
|
||||
context.beginElement(MediaFormatIO::s_raw_audio_tag);
|
||||
export_raw_audio_attr(f.output, context);
|
||||
|
||||
#if B_BEOS_VERSION > B_BEOS_VERSION_4_5
|
||||
export_multi_audio_info_attr(f.multi_info, context);
|
||||
#endif
|
||||
|
||||
context.endElement();
|
||||
}
|
||||
@ -925,9 +920,7 @@ void MediaFormatIO::xmlExportAttributes(
|
||||
switch(m_format.type) {
|
||||
case B_MEDIA_RAW_AUDIO:
|
||||
export_raw_audio_attr(m_format.u.raw_audio, context);
|
||||
#if B_BEOS_VERSION > B_BEOS_VERSION_4_5
|
||||
export_multi_audio_info_attr(m_format.u.raw_audio, context);
|
||||
#endif
|
||||
break;
|
||||
|
||||
case B_MEDIA_RAW_VIDEO:
|
||||
@ -1016,8 +1009,6 @@ void import_raw_audio_attribute(
|
||||
}
|
||||
}
|
||||
|
||||
#if B_BEOS_VERSION > B_BEOS_VERSION_4_5
|
||||
|
||||
void import_multi_audio_info_attribute(
|
||||
media_multi_audio_info& f,
|
||||
const char* key,
|
||||
@ -1032,8 +1023,6 @@ void import_multi_audio_info_attribute(
|
||||
f.matrix_mask = atoi(value);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void import_raw_video_attribute(
|
||||
media_raw_video_format& f,
|
||||
const char* key,
|
||||
@ -1257,10 +1246,8 @@ void MediaFormatIO::xmlImportAttribute(
|
||||
import_raw_audio_attribute(
|
||||
m_format.u.raw_audio, key, value, context);
|
||||
|
||||
#if B_BEOS_VERSION > B_BEOS_VERSION_4_5
|
||||
import_multi_audio_info_attribute(
|
||||
m_format.u.raw_audio, key, value, context);
|
||||
#endif
|
||||
break;
|
||||
|
||||
case B_MEDIA_RAW_VIDEO:
|
||||
|
Loading…
x
Reference in New Issue
Block a user