Ignore:
Timestamp:
Mar 20, 2006 4:58:43 PM (19 years ago)
Author:
bennylp
Message:

Ported PJMEDIA to Darwin/MacOSX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/portaudio/pa_mac_core.c

    r339 r341  
    149149        case kAudioHardwareBadStreamError: 
    150150            result = paBadStreamPtr; break; 
    151         case kAudioHardwareUnsupportedOperationError: 
    152             result = paInternalError; break; 
     151//        case kAudioHardwareUnsupportedOperationError: 
     152//            result = paInternalError; break; 
    153153        case kAudioDeviceUnsupportedFormatError: 
    154154            result = paSampleFormatNotSupported; break; 
     
    411411        portAudioBuffer += Pa_GetSampleSize(destination->inputSampleFormat) * channelSpacing; 
    412412    } 
     413    return 0; 
    413414} 
    414415 
     
    440441        portAudioBuffer += Pa_GetSampleSize(source->outputSampleFormat) * channelSpacing; 
    441442    }     
     443    return 0; 
    442444} 
    443445 
     
    471473        Pa_StopStream(clientData->stream); 
    472474    } 
     475    return 0; 
    473476} 
    474477 
     
    495498     
    496499    PaUtil_EndCpuLoadMeasurement( &clientData->stream->cpuLoadMeasurer, frameCount ); 
     500    return 0; 
    497501} 
    498502 
     
    519523 
    520524    PaUtil_EndCpuLoadMeasurement( &clientData->stream->cpuLoadMeasurer, frameCount ); 
     525    return 0; 
    521526} 
    522527 
Note: See TracChangeset for help on using the changeset viewer.