Changeset 414
- Timestamp:
- 04/12/07 19:29:25 (1 year ago)
- Files:
-
- trunk/FFissionCodec/FFissionDecoder.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/FFissionCodec/FFissionDecoder.cpp
r411 r414 418 418 } 419 419 420 // comment from XiphQT (variable frames per packet means FrameSize should be reported 0, 421 // but apparently needs 1 on Intel?): 422 /* The following line has been changed according to Apple engineers' suggestion 423 I received via Steve Nicolai (in response to *my* bugreport, I think...). 424 (Why don't they just implement the VBR-VFPP properly? *sigh*) */ 425 #ifdef TARGET_CPU_X86 426 #define SHOULD_BE_ZERO 1 427 #else 428 #define SHOULD_BE_ZERO 0 429 #endif 420 430 421 431 void FFissionVBRDecoder::GetProperty(AudioCodecPropertyID inPropertyID, UInt32& ioPropertyDataSize, void* outPropertyData) … … 431 441 switch (inPropertyID) { 432 442 case kAudioCodecPropertyPacketFrameSize: 433 *reinterpret_cast<UInt32*>(outPropertyData) = 0;443 *reinterpret_cast<UInt32*>(outPropertyData) = SHOULD_BE_ZERO; 434 444 break; 435 445
