Changeset 16
- Timestamp:
- 09/15/06 08:23:56 (2 years ago)
- Files:
-
- trunk/A52/ACShepA52Decoder.cpp (modified) (5 diffs)
- trunk/A52Codec.xcodeproj/project.pbxproj (modified) (16 diffs)
- trunk/A52Preferences (added)
- trunk/A52Preferences/A52Preferences.h (added)
- trunk/A52Preferences/A52Preferences.m (added)
- trunk/A52Preferences/English.lproj (added)
- trunk/A52Preferences/English.lproj/A52CodecPreferences.nib (added)
- trunk/A52Preferences/English.lproj/A52CodecPreferences.nib/classes.nib (added)
- trunk/A52Preferences/English.lproj/A52CodecPreferences.nib/info.nib (added)
- trunk/A52Preferences/English.lproj/A52CodecPreferences.nib/keyedobjects.nib (added)
- trunk/A52Preferences/Preferences-Info.plist (added)
- trunk/A52Preferences/main.m (added)
- trunk/Info-A52Codec__Upgraded_.plist (modified) (2 diffs)
- trunk/Read Me.rtf (added)
- trunk/Read Me.txt (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/A52/ACShepA52Decoder.cpp
r15 r16 608 608 } 609 609 610 return 2 * 256; // Number of 'UInt16' we processed 610 return 2 * 256; // Number of 'UInt16' we processed 611 612 break; 613 614 // Mono 615 case A52_MONO: 616 //fprintf(stderr, "ACShepA52Decoder::Process16BitSignedInts: Running mono\n"); 617 618 for (int k = 0; k < 256; k++) { 619 output_data[k + output_data_offset] = cast_samples[k]; // mono chan 620 } 621 622 return 256; // Number of 'UInt16' we processed 611 623 612 624 break; … … 676 688 break; 677 689 690 // Mono 691 case A52_MONO: 692 //fprintf(stderr, "ACShepA52Decoder::Process32BitSignedInts: Running mono\n"); 693 694 for (int k = 0; k < 256; k++) { 695 output_data[k + output_data_offset] = (SInt32)output_samples[k]; // moon chan 696 } 697 698 return 256; // Number of 'UInt32' we processed 699 break; 700 678 701 default: 679 702 … … 696 719 // With LFE 697 720 if (a52_flags & A52_LFE) { 698 fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.1\n");721 //fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.1\n"); 699 722 700 723 for (int k = 0; k < 256; k++) { … … 709 732 return 6 * 256; // Number of 'float' we processed 710 733 } else { 711 fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.0\n");734 //fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.0\n"); 712 735 for (int k = 0; k < 256; k++) { 713 736 output_data[5*k + output_data_offset + 0] = output_samples[k + 256*0]; // left chan … … 736 759 break; 737 760 761 // Mono 762 case A52_MONO: 763 //fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running mono\n"); 764 765 for (int k = 0; k < 256; k++) { 766 output_data[k + output_data_offset] = output_samples[k]; // mono chan 767 } 768 769 return 256; // Number of 'float' we processed 770 break; 738 771 739 772 default: trunk/A52Codec.xcodeproj/project.pbxproj
r15 r16 29 29 F5DA8EE40A54C708004A41D0 /* PBXTargetDependency */, 30 30 F5DA8EE60A54C708004A41D0 /* PBXTargetDependency */, 31 F50B7AC00AAB69DB00065C78 /* PBXTargetDependency */, 31 32 ); 32 33 name = "Build All"; … … 38 39 F508127A0A21251C0092BF70 /* ACSimpleCodec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F51A93080287A1A201000102 /* ACSimpleCodec.cpp */; }; 39 40 F508127C0A21251F0092BF70 /* ACSimpleCodec.h in Headers */ = {isa = PBXBuildFile; fileRef = F51A93090287A1A201000102 /* ACSimpleCodec.h */; }; 41 F50B7AC80AAB6E6000065C78 /* A52Preferences.m in Sources */ = {isa = PBXBuildFile; fileRef = F50B7AC70AAB6E6000065C78 /* A52Preferences.m */; }; 42 F50B7AD50AAB6E9500065C78 /* A52CodecPreferences.nib in Resources */ = {isa = PBXBuildFile; fileRef = F50B7AD40AAB6E9500065C78 /* A52CodecPreferences.nib */; }; 43 F50B7AD70AAB6EBA00065C78 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F50B7AD60AAB6EBA00065C78 /* main.m */; }; 44 F50B7B460AAB751E00065C78 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F50B7B450AAB751E00065C78 /* Foundation.framework */; }; 45 F50B7BC60AAB753500065C78 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F50B7BC50AAB753500065C78 /* AppKit.framework */; }; 40 46 F5525DD30A3BF78A00F36B86 /* a52.h in Headers */ = {isa = PBXBuildFile; fileRef = F5BDACBC0A20A03200FF4884 /* a52.h */; }; 41 47 F5525DD40A3BF78A00F36B86 /* attributes.h in Headers */ = {isa = PBXBuildFile; fileRef = F5BDACBD0A20A03200FF4884 /* attributes.h */; }; … … 99 105 100 106 /* Begin PBXContainerItemProxy section */ 107 F50B7ABF0AAB69DB00065C78 /* PBXContainerItemProxy */ = { 108 isa = PBXContainerItemProxy; 109 containerPortal = F5A548DE02879EB701000102 /* Project object */; 110 proxyType = 1; 111 remoteGlobalIDString = F50B7AB40AAB69C600065C78 /* Preferences */; 112 remoteInfo = Preferences; 113 }; 101 114 F583B2040A759C0F005F8A5A /* PBXContainerItemProxy */ = { 102 115 isa = PBXContainerItemProxy; … … 170 183 65CB364E066A1FA900A75A43 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = "<absolute>"; }; 171 184 F50815870A2161180092BF70 /* XCAResources.r */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.rez; path = XCAResources.r; sourceTree = "<group>"; }; 185 F50B7AB50AAB69C600065C78 /* Preferences.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Preferences.app; sourceTree = BUILT_PRODUCTS_DIR; }; 186 F50B7AB70AAB69C700065C78 /* Preferences-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Preferences-Info.plist"; sourceTree = "<group>"; }; 187 F50B7AC40AAB6E3F00065C78 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/A52CodecPreferences.nib; sourceTree = "<group>"; }; 188 F50B7AC60AAB6E6000065C78 /* A52Preferences.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = A52Preferences.h; sourceTree = "<group>"; }; 189 F50B7AC70AAB6E6000065C78 /* A52Preferences.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = A52Preferences.m; sourceTree = "<group>"; }; 190 F50B7AD60AAB6EBA00065C78 /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 191 F50B7B450AAB751E00065C78 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; 192 F50B7BC50AAB753500065C78 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; 172 193 F51A93000287A1A201000102 /* ACBaseCodec.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ACBaseCodec.cpp; sourceTree = "<group>"; }; 173 194 F51A93010287A1A201000102 /* ACBaseCodec.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ACBaseCodec.h; sourceTree = "<group>"; }; … … 209 230 210 231 /* Begin PBXFrameworksBuildPhase section */ 232 F50B7AB30AAB69C600065C78 /* Frameworks */ = { 233 isa = PBXFrameworksBuildPhase; 234 buildActionMask = 2147483647; 235 files = ( 236 F50B7B460AAB751E00065C78 /* Foundation.framework in Frameworks */, 237 F50B7BC60AAB753500065C78 /* AppKit.framework in Frameworks */, 238 ); 239 runOnlyForDeploymentPostprocessing = 0; 240 }; 211 241 F5525DEB0A3BF78A00F36B86 /* Frameworks */ = { 212 242 isa = PBXFrameworksBuildPhase; … … 281 311 sourceTree = "<group>"; 282 312 }; 313 F50B7AC20AAB69F000065C78 /* A52Preferences */ = { 314 isa = PBXGroup; 315 children = ( 316 F50B7AD60AAB6EBA00065C78 /* main.m */, 317 F50B7AC60AAB6E6000065C78 /* A52Preferences.h */, 318 F50B7AC70AAB6E6000065C78 /* A52Preferences.m */, 319 F50B7AD40AAB6E9500065C78 /* A52CodecPreferences.nib */, 320 F50B7AB70AAB69C700065C78 /* Preferences-Info.plist */, 321 ); 322 path = A52Preferences; 323 sourceTree = "<group>"; 324 }; 283 325 F51A92FF0287A1A201000102 /* ACPublic */ = { 284 326 isa = PBXGroup; … … 324 366 F5BDACAD0A20A00000FF4884 /* A52Codec.component */, 325 367 F5525DF70A3BF78A00F36B86 /* AC3MovieImport.component */, 368 F50B7AB50AAB69C600065C78 /* Preferences.app */, 326 369 ); 327 370 name = Products; … … 337 380 F5BDACB70A20A01C00FF4884 /* liba52 */, 338 381 F5525DFD0A3BF7D700F36B86 /* AC3MovieImport */, 382 F50B7AC20AAB69F000065C78 /* A52Preferences */, 339 383 ); 340 384 name = Source; … … 344 388 isa = PBXGroup; 345 389 children = ( 390 F50B7BC50AAB753500065C78 /* AppKit.framework */, 391 F50B7B450AAB751E00065C78 /* Foundation.framework */, 346 392 F5536FB10A3BF8E800969CA8 /* QuickTime.framework */, 347 393 65CB364E066A1FA900A75A43 /* CoreAudio.framework */, … … 439 485 440 486 /* Begin PBXNativeTarget section */ 487 F50B7AB40AAB69C600065C78 /* Preferences */ = { 488 isa = PBXNativeTarget; 489 buildConfigurationList = F50B7AB80AAB69C800065C78 /* Build configuration list for PBXNativeTarget "Preferences" */; 490 buildPhases = ( 491 F50B7AB10AAB69C600065C78 /* Resources */, 492 F50B7AB20AAB69C600065C78 /* Sources */, 493 F50B7AB30AAB69C600065C78 /* Frameworks */, 494 ); 495 buildRules = ( 496 ); 497 dependencies = ( 498 ); 499 name = Preferences; 500 productName = Preferences; 501 productReference = F50B7AB50AAB69C600065C78 /* Preferences.app */; 502 productType = "com.apple.product-type.application"; 503 }; 441 504 F5525DCA0A3BF78A00F36B86 /* AC3MovieImport */ = { 442 505 isa = PBXNativeTarget; … … 493 556 F5BDAC850A20A00000FF4884 /* A52Codec (Upgraded) */, 494 557 F5525DCA0A3BF78A00F36B86 /* AC3MovieImport */, 558 F50B7AB40AAB69C600065C78 /* Preferences */, 495 559 F583B2030A759C09005F8A5A /* Debug */, 496 560 ); … … 499 563 500 564 /* Begin PBXResourcesBuildPhase section */ 565 F50B7AB10AAB69C600065C78 /* Resources */ = { 566 isa = PBXResourcesBuildPhase; 567 buildActionMask = 2147483647; 568 files = ( 569 F50B7AD50AAB6E9500065C78 /* A52CodecPreferences.nib in Resources */, 570 ); 571 runOnlyForDeploymentPostprocessing = 0; 572 }; 501 573 F5525DDC0A3BF78A00F36B86 /* Resources */ = { 502 574 isa = PBXResourcesBuildPhase; … … 535 607 536 608 /* Begin PBXSourcesBuildPhase section */ 609 F50B7AB20AAB69C600065C78 /* Sources */ = { 610 isa = PBXSourcesBuildPhase; 611 buildActionMask = 2147483647; 612 files = ( 613 F50B7AC80AAB6E6000065C78 /* A52Preferences.m in Sources */, 614 F50B7AD70AAB6EBA00065C78 /* main.m in Sources */, 615 ); 616 runOnlyForDeploymentPostprocessing = 0; 617 }; 537 618 F5525DDD0A3BF78A00F36B86 /* Sources */ = { 538 619 isa = PBXSourcesBuildPhase; … … 571 652 572 653 /* Begin PBXTargetDependency section */ 654 F50B7AC00AAB69DB00065C78 /* PBXTargetDependency */ = { 655 isa = PBXTargetDependency; 656 target = F50B7AB40AAB69C600065C78 /* Preferences */; 657 targetProxy = F50B7ABF0AAB69DB00065C78 /* PBXContainerItemProxy */; 658 }; 573 659 F583B2050A759C0F005F8A5A /* PBXTargetDependency */ = { 574 660 isa = PBXTargetDependency; … … 588 674 /* End PBXTargetDependency section */ 589 675 676 /* Begin PBXVariantGroup section */ 677 F50B7AD40AAB6E9500065C78 /* A52CodecPreferences.nib */ = { 678 isa = PBXVariantGroup; 679 children = ( 680 F50B7AC40AAB6E3F00065C78 /* English */, 681 ); 682 name = A52CodecPreferences.nib; 683 sourceTree = "<group>"; 684 }; 685 /* End PBXVariantGroup section */ 686 590 687 /* Begin XCBuildConfiguration section */ 688 F50B7AB90AAB69C800065C78 /* Release */ = { 689 isa = XCBuildConfiguration; 690 buildSettings = { 691 ARCHS = ( 692 ppc, 693 i386, 694 ); 695 COPY_PHASE_STRIP = YES; 696 GCC_ENABLE_FIX_AND_CONTINUE = NO; 697 GCC_GENERATE_DEBUGGING_SYMBOLS = NO; 698 GCC_MODEL_TUNING = G5; 699 GCC_PRECOMPILE_PREFIX_HEADER = YES; 700 GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 701 INFOPLIST_FILE = "A52Preferences/Preferences-Info.plist"; 702 INSTALL_PATH = "$(HOME)/Applications"; 703 OTHER_LDFLAGS = ( 704 "-framework", 705 Foundation, 706 "-framework", 707 AppKit, 708 ); 709 PREBINDING = NO; 710 PRODUCT_NAME = Preferences; 711 WRAPPER_EXTENSION = app; 712 ZERO_LINK = NO; 713 }; 714 name = Release; 715 }; 716 F50B7ABA0AAB69C800065C78 /* Development */ = { 717 isa = XCBuildConfiguration; 718 buildSettings = { 719 COPY_PHASE_STRIP = NO; 720 GCC_DYNAMIC_NO_PIC = NO; 721 GCC_ENABLE_FIX_AND_CONTINUE = YES; 722 GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 723 GCC_MODEL_TUNING = G5; 724 GCC_OPTIMIZATION_LEVEL = 0; 725 GCC_PRECOMPILE_PREFIX_HEADER = YES; 726 GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 727 INFOPLIST_FILE = "A52Preferences/Preferences-Info.plist"; 728 INSTALL_PATH = "$(HOME)/Applications"; 729 OTHER_LDFLAGS = ( 730 "-framework", 731 Foundation, 732 "-framework", 733 AppKit, 734 ); 735 PREBINDING = NO; 736 PRODUCT_NAME = Preferences; 737 WRAPPER_EXTENSION = app; 738 ZERO_LINK = YES; 739 }; 740 name = Development; 741 }; 742 F50B7ABB0AAB69C800065C78 /* Development-Unoptimized */ = { 743 isa = XCBuildConfiguration; 744 buildSettings = { 745 GCC_ENABLE_FIX_AND_CONTINUE = YES; 746 GCC_MODEL_TUNING = G5; 747 GCC_PRECOMPILE_PREFIX_HEADER = YES; 748 GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 749 INFOPLIST_FILE = "A52Preferences/Preferences-Info.plist"; 750 INSTALL_PATH = "$(HOME)/Applications"; 751 OTHER_LDFLAGS = ( 752 "-framework", 753 Foundation, 754 "-framework", 755 AppKit, 756 ); 757 PREBINDING = NO; 758 PRODUCT_NAME = Preferences; 759 WRAPPER_EXTENSION = app; 760 ZERO_LINK = YES; 761 }; 762 name = "Development-Unoptimized"; 763 }; 764 F50B7ABC0AAB69C800065C78 /* Default */ = { 765 isa = XCBuildConfiguration; 766 buildSettings = { 767 GCC_ENABLE_FIX_AND_CONTINUE = YES; 768 GCC_MODEL_TUNING = G5; 769 GCC_PRECOMPILE_PREFIX_HEADER = YES; 770 GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 771 INFOPLIST_FILE = "A52Preferences/Preferences-Info.plist"; 772 INSTALL_PATH = "$(HOME)/Applications"; 773 OTHER_LDFLAGS = ( 774 "-framework", 775 Foundation, 776 "-framework", 777 AppKit, 778 ); 779 PREBINDING = NO; 780 PRODUCT_NAME = Preferences; 781 WRAPPER_EXTENSION = app; 782 ZERO_LINK = YES; 783 }; 784 name = Default; 785 }; 591 786 F5525DF30A3BF78A00F36B86 /* Release */ = { 592 787 isa = XCBuildConfiguration; … … 941 1136 942 1137 /* Begin XCConfigurationList section */ 1138 F50B7AB80AAB69C800065C78 /* Build configuration list for PBXNativeTarget "Preferences" */ = { 1139 isa = XCConfigurationList; 1140 buildConfigurations = ( 1141 F50B7AB90AAB69C800065C78 /* Release */, 1142 F50B7ABA0AAB69C800065C78 /* Development */, 1143 F50B7ABB0AAB69C800065C78 /* Development-Unoptimized */, 1144 F50B7ABC0AAB69C800065C78 /* Default */, 1145 ); 1146 defaultConfigurationIsVisible = 0; 1147 defaultConfigurationName = Default; 1148 }; 943 1149 F5525DF20A3BF78A00F36B86 /* Build configuration list for PBXNativeTarget "AC3MovieImport" */ = { 944 1150 isa = XCConfigurationList; trunk/Info-A52Codec__Upgraded_.plist
r6 r16 8 8 <string>A52Codec</string> 9 9 <key>CFBundleGetInfoString</key> 10 <string>1. 6, CoreAudio A/52 and AC-3 Codec Component</string>10 <string>1.7, CoreAudio A/52 and AC-3 Codec Component</string> 11 11 <key>CFBundleIconFile</key> 12 12 <string></string> … … 20 20 <string>BNDL</string> 21 21 <key>CFBundleShortVersionString</key> 22 <string>1. 6</string>22 <string>1.7</string> 23 23 <key>CFBundleSignature</key> 24 24 <string>SHEP</string> 25 25 <key>CFBundleVersion</key> 26 <string>1. 6</string>26 <string>1.7</string> 27 27 </dict> 28 28 </plist>
