Changeset 148

Show
Ignore:
Timestamp:
02/24/07 16:28:38 (5 years ago)
Author:
wren
Message:

Changed sinewave to out positive and negative floats to CoreAudio

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/ILDAInspector_coreaudio/ILDAInspector.xcodeproj/project.pbxproj

    r118 r148  
    2929                A8A909BC0AB1BCAF005F7A0F /* ILDASequenceView.m in Sources */ = {isa = PBXBuildFile; fileRef = A8A909BA0AB1BCAF005F7A0F /* ILDASequenceView.m */; }; 
    3030/* End PBXBuildFile section */ 
     31 
     32/* Begin PBXBuildStyle section */ 
     33                A296211E0B90F26F0031D96C /* Development */ = { 
     34                        isa = PBXBuildStyle; 
     35                        buildSettings = { 
     36                                COPY_PHASE_STRIP = NO; 
     37                        }; 
     38                        name = Development; 
     39                }; 
     40                A296211F0B90F26F0031D96C /* Deployment */ = { 
     41                        isa = PBXBuildStyle; 
     42                        buildSettings = { 
     43                                COPY_PHASE_STRIP = YES; 
     44                        }; 
     45                        name = Deployment; 
     46                }; 
     47/* End PBXBuildStyle section */ 
    3148 
    3249/* Begin PBXFileReference section */ 
     
    258275                        isa = PBXProject; 
    259276                        buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ILDAInspector" */; 
     277                        buildSettings = { 
     278                        }; 
     279                        buildStyles = ( 
     280                                A296211E0B90F26F0031D96C /* Development */, 
     281                                A296211F0B90F26F0031D96C /* Deployment */, 
     282                        ); 
    260283                        hasScannedForEncodings = 1; 
    261284                        mainGroup = 29B97314FDCFA39411CA2CEA /* ILDAInspector */; 
  • branches/ILDAInspector_coreaudio/Sinewave.m

    r118 r148  
    3333                    int j = (lastpoint+i)%(myFrame.header.entryCount); 
    3434                        //fprintf(stderr,"%i\n",j); 
    35                         float x = (float)(((myFrame.points[j].x)+32768.)/65536.); 
    36                         float y = (float)(((myFrame.points[j].y)+32768.)/65536.); 
     35                        float x = (float)((myFrame.points[j].x)/32768.); 
     36                        float y = (float)((myFrame.points[j].y)/32768.); 
    3737                        //float x = (sin(j/10.)+1)/2; 
    3838                        //float y = (sin(j/10.)+1)/2;