The wave file is of high/low sample rate...probably you should try with "resampleplay" and providing channels as parameters in it.. --- On Fri, 11/11/11, Mark Spowage <spowage at gmail.com> wrote: From: Mark Spowage <spowage@xxxxxxxxx> Subject: pjsip on linux cant play To: pjsip at lists.pjsip.org Date: Friday, 11 November, 2011, 9:19 PM ?./playfile ~/unavail.wav??13:14:22.230 os_core_unix.c ?pjlib 1.12.0 for POSIX initialized?13:14:22.256 ? ? ? pa_dev.c ?PortAudio sound library initialized, status=0?13:14:22.256 ? ? ? pa_dev.c ?PortAudio host api count=2 ?13:14:22.256 ? ? ? pa_dev.c ?Sound device count=18?13:14:22.256 ? ? ? ? ?pjlib ?select() I/O Queue created (0xca6d68) ?wav_player.c ?File player '/home/spowage/unavail.wav' created: samp.rate=8000, ch=1, bufsize=4KB, filesize=84KB Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1873 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994 ?13:14:22.256 ? ? playfile.c ?Unable to open sound device: Invalid sample rate [code=469996 any idea ? ? -- ----- Fight back spam! Download the Blue Frog. http://www.bluesecurity.com/register/s?user=c3Bvd2FnZTI3NTk%3D -----Inline Attachment Follows----- _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111112/6e16ba56/attachment-0001.html>