diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-08-04 11:06:05 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-08-04 11:06:05 +0000 |
commit | 60fb5677579381a10db65cf32333fbabdd4a715e (patch) | |
tree | 79e9f008ea2fb04c2582daeaa94e6c4ed4853b17 /pjmedia/src | |
parent | 5ba603eebf4450ab31545ccf7483e04c1b00e829 (diff) |
Removed the constness of the captured frame from pjmedia_snd_rec_cb specification (experimental, to support AEC since AEC needs to modify the buffer).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@645 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src')
-rw-r--r-- | pjmedia/src/pjmedia/pasound.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pjmedia/src/pjmedia/pasound.c b/pjmedia/src/pjmedia/pasound.c index 9255f698..527c0a02 100644 --- a/pjmedia/src/pjmedia/pasound.c +++ b/pjmedia/src/pjmedia/pasound.c @@ -95,8 +95,9 @@ static int PaRecorderCallback(const void *input, stream->timestamp += frameCount; status = (*stream->rec_cb)(stream->user_data, stream->timestamp, - input, frameCount * stream->bytes_per_sample * - stream->channel_count); + (void*)input, + frameCount * stream->bytes_per_sample * + stream->channel_count); if (status==0) return paContinue; |