Changeset 16

Show
Ignore:
Timestamp:
09/15/06 08:23:56 (2 years ago)
Author:
anonymous
Message:

Repository was lost (unixshell.com lost everything because a 3Ware raid card couldn't survive a single drive failure).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/A52/ACShepA52Decoder.cpp

    r15 r16  
    608608                        } 
    609609                                 
    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 
    611623                         
    612624                        break; 
     
    676688                        break; 
    677689                         
     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 
    678701                default: 
    679702                         
     
    696719                        // With LFE 
    697720                        if (a52_flags & A52_LFE) { 
    698                                 fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.1\n"); 
     721                                //fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.1\n"); 
    699722                                 
    700723                                for (int k = 0; k < 256; k++) { 
     
    709732                                return 6 * 256; // Number of 'float' we processed 
    710733                        } else { 
    711                                 fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.0\n"); 
     734                                //fprintf(stderr, "ACShepA52Decoder::ProcessFloats: Running 5.0\n"); 
    712735                                for (int k = 0; k < 256; k++) { 
    713736                                        output_data[5*k + output_data_offset + 0] = output_samples[k + 256*0]; // left chan  
     
    736759                        break; 
    737760                         
     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; 
    738771                         
    739772                default: 
  • trunk/A52Codec.xcodeproj/project.pbxproj

    r15 r16  
    2929                                F5DA8EE40A54C708004A41D0 /* PBXTargetDependency */, 
    3030                                F5DA8EE60A54C708004A41D0 /* PBXTargetDependency */, 
     31                                F50B7AC00AAB69DB00065C78 /* PBXTargetDependency */, 
    3132                        ); 
    3233                        name = "Build All"; 
     
    3839                F508127A0A21251C0092BF70 /* ACSimpleCodec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F51A93080287A1A201000102 /* ACSimpleCodec.cpp */; }; 
    3940                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 */; }; 
    4046                F5525DD30A3BF78A00F36B86 /* a52.h in Headers */ = {isa = PBXBuildFile; fileRef = F5BDACBC0A20A03200FF4884 /* a52.h */; }; 
    4147                F5525DD40A3BF78A00F36B86 /* attributes.h in Headers */ = {isa = PBXBuildFile; fileRef = F5BDACBD0A20A03200FF4884 /* attributes.h */; }; 
     
    99105 
    100106/* 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                }; 
    101114                F583B2040A759C0F005F8A5A /* PBXContainerItemProxy */ = { 
    102115                        isa = PBXContainerItemProxy; 
     
    170183                65CB364E066A1FA900A75A43 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = /System/Library/Frameworks/CoreAudio.framework; sourceTree = "<absolute>"; }; 
    171184                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>"; }; 
    172193                F51A93000287A1A201000102 /* ACBaseCodec.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ACBaseCodec.cpp; sourceTree = "<group>"; }; 
    173194                F51A93010287A1A201000102 /* ACBaseCodec.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ACBaseCodec.h; sourceTree = "<group>"; }; 
     
    209230 
    210231/* 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                }; 
    211241                F5525DEB0A3BF78A00F36B86 /* Frameworks */ = { 
    212242                        isa = PBXFrameworksBuildPhase; 
     
    281311                        sourceTree = "<group>"; 
    282312                }; 
     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                }; 
    283325                F51A92FF0287A1A201000102 /* ACPublic */ = { 
    284326                        isa = PBXGroup; 
     
    324366                                F5BDACAD0A20A00000FF4884 /* A52Codec.component */, 
    325367                                F5525DF70A3BF78A00F36B86 /* AC3MovieImport.component */, 
     368                                F50B7AB50AAB69C600065C78 /* Preferences.app */, 
    326369                        ); 
    327370                        name = Products; 
     
    337380                                F5BDACB70A20A01C00FF4884 /* liba52 */, 
    338381                                F5525DFD0A3BF7D700F36B86 /* AC3MovieImport */, 
     382                                F50B7AC20AAB69F000065C78 /* A52Preferences */, 
    339383                        ); 
    340384                        name = Source; 
     
    344388                        isa = PBXGroup; 
    345389                        children = ( 
     390                                F50B7BC50AAB753500065C78 /* AppKit.framework */, 
     391                                F50B7B450AAB751E00065C78 /* Foundation.framework */, 
    346392                                F5536FB10A3BF8E800969CA8 /* QuickTime.framework */, 
    347393                                65CB364E066A1FA900A75A43 /* CoreAudio.framework */, 
     
    439485 
    440486/* 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                }; 
    441504                F5525DCA0A3BF78A00F36B86 /* AC3MovieImport */ = { 
    442505                        isa = PBXNativeTarget; 
     
    493556                                F5BDAC850A20A00000FF4884 /* A52Codec (Upgraded) */, 
    494557                                F5525DCA0A3BF78A00F36B86 /* AC3MovieImport */, 
     558                                F50B7AB40AAB69C600065C78 /* Preferences */, 
    495559                                F583B2030A759C09005F8A5A /* Debug */, 
    496560                        ); 
     
    499563 
    500564/* 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                }; 
    501573                F5525DDC0A3BF78A00F36B86 /* Resources */ = { 
    502574                        isa = PBXResourcesBuildPhase; 
     
    535607 
    536608/* 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                }; 
    537618                F5525DDD0A3BF78A00F36B86 /* Sources */ = { 
    538619                        isa = PBXSourcesBuildPhase; 
     
    571652 
    572653/* Begin PBXTargetDependency section */ 
     654                F50B7AC00AAB69DB00065C78 /* PBXTargetDependency */ = { 
     655                        isa = PBXTargetDependency; 
     656                        target = F50B7AB40AAB69C600065C78 /* Preferences */; 
     657                        targetProxy = F50B7ABF0AAB69DB00065C78 /* PBXContainerItemProxy */; 
     658                }; 
    573659                F583B2050A759C0F005F8A5A /* PBXTargetDependency */ = { 
    574660                        isa = PBXTargetDependency; 
     
    588674/* End PBXTargetDependency section */ 
    589675 
     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 
    590687/* 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                }; 
    591786                F5525DF30A3BF78A00F36B86 /* Release */ = { 
    592787                        isa = XCBuildConfiguration; 
     
    9411136 
    9421137/* 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                }; 
    9431149                F5525DF20A3BF78A00F36B86 /* Build configuration list for PBXNativeTarget "AC3MovieImport" */ = { 
    9441150                        isa = XCConfigurationList; 
  • trunk/Info-A52Codec__Upgraded_.plist

    r6 r16  
    88        <string>A52Codec</string> 
    99        <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> 
    1111        <key>CFBundleIconFile</key> 
    1212        <string></string> 
     
    2020        <string>BNDL</string> 
    2121        <key>CFBundleShortVersionString</key> 
    22         <string>1.6</string> 
     22        <string>1.7</string> 
    2323        <key>CFBundleSignature</key> 
    2424        <string>SHEP</string> 
    2525        <key>CFBundleVersion</key> 
    26         <string>1.6</string> 
     26        <string>1.7</string> 
    2727</dict> 
    2828</plist>