diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-01-23 20:48:59 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-01-23 20:48:59 +0000 |
commit | 0170f444a9e4aa6ef5396e6594d3179b80de0c98 (patch) | |
tree | f4124ca6a8726f0e997cba68395ff7b41c923d2b /pjmedia | |
parent | a6bace0c21ec4d714ff19f32ec719898667743d4 (diff) |
Fixed ticket #76: bug in PortAudio when device is opened in non-native clock rate
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@902 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia')
-rw-r--r-- | pjmedia/src/pjmedia/portaudio/pa_mac_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjmedia/src/pjmedia/portaudio/pa_mac_core.c b/pjmedia/src/pjmedia/portaudio/pa_mac_core.c index 2b2b9cc1..304a32de 100644 --- a/pjmedia/src/pjmedia/portaudio/pa_mac_core.c +++ b/pjmedia/src/pjmedia/portaudio/pa_mac_core.c @@ -1277,9 +1277,9 @@ static PaError OpenStream( struct PaUtilHostApiRepresentation *hostApi, } /* now we can initialize the ring buffer */ - assert( 0 == + /*assert( 0 ==*/ RingBuffer_Init( &stream->inputRingBuffer, - ringSize*szfl, data ) ); + ringSize*szfl, data ) /*)*/; /* advance the read point a little, so we are reading from the middle of the buffer */ if( stream->outputUnit ) |