linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Pandaboard audio error.


From: chase rayfield
Subject: [Linphone-developers] Pandaboard audio error.
Date: Mon, 5 Dec 2011 00:01:10 -0800 (PST)

Hello,

I am attempting to use the analog audio out /headphone jack on a Pandaboard.

All the builds I an built from git since the mediastreamer fixes were in place have worked fine howver I haven't actually tested calling.

Audio with mediastreamer isn't working here is part of the log.
[20111205-01:58:17] [message] Mediastreamer2 2.7.3 (git: 2.7.3-252-g3ddb8cf) starting.
[20111205-01:58:17] [message] Registering all soundcard handlers
[20111205-01:58:17] [message] Card 'ALSA: default device' added
[20111205-01:58:17] [warning] Could not attach mixer to card: Invalid argument
[20111205-01:58:17] [message] Card 'ALSA: Panda' added
[20111205-01:58:17] [warning] Could not attach mixer to card: Invalid argument
[20111205-01:58:17] [message] Card 'ALSA: PandaHDMI' added
[20111205-01:58:17] [message] Card 'OSS: /dev/dsp' added
[20111205-01:58:17] [message] Card 'OSS: /dev/dsp1' added
[20111205-01:58:17] [message] Registering all webcam handlers
<snip>
[20111205-01:58:26] [message] /opt/share/sounds/linphone/rings/oldphone.wav opened: rate=44100,channel=2
[20111205-01:58:26] [message] ms_filter_link: MSFilePlayer:0x213560,0-->MSDtmfGen:0x206ce8,0
[20111205-01:58:26] [message] MS ticker priority set to SCHED_RR and max (99)
[20111205-01:58:26] [message] ms_filter_link: MSDtmfGen:0x206ce8,0-->MSAlsaWrite:0x1aa5a0,0
[20111205-01:58:26] [message] alsa_open_w: opening default:0 at 44100Hz, bits=16, stereo=1
[20111205-01:58:26] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:26] [warning] alsa_open_w: Error setting params (for 0 micros)
[20111205-01:58:27] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:27] [warning] alsa_open_w: Error setting params (for 205933 micros)
[20111205-01:58:27] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:27] [warning] alsa_open_w: Error setting params (for 411042 micros)
[20111205-01:58:27] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:27] [warning] alsa_open_w: Error setting params (for 615174 micros)
[20111205-01:58:27] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:27] [warning] alsa_open_w: Error setting params (for 818299 micros)
[20111205-01:58:27] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:27] [warning] alsa_open_w: Error setting params (for 1023102 micros)
[20111205-01:58:28] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:28] [warning] alsa_open_w: Error setting params (for 1225861 micros)
[20111205-01:58:28] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:28] [warning] alsa_open_w: Error setting params (for 1434571 micros)
[20111205-01:58:28] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:28] [warning] alsa_open_w: Error setting params (for 1642182 micros)
[20111205-01:58:28] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:28] [warning] alsa_open_w: Error setting params (for 1842469 micros)
[20111205-01:58:28] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:28] [warning] alsa_open_w: Error setting params (for 2049775 micros)
[20111205-01:58:29] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:29] [warning] alsa_open_w: Error setting params (for 2251252 micros)
[20111205-01:58:29] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:29] [warning] alsa_open_w: Error setting params (for 2453919 micros)
[20111205-01:58:29] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:29] [warning] alsa_open_w: Error setting params (for 2657135 micros)
[20111205-01:58:29] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:29] [warning] alsa_open_w: Error setting params (for 2858704 micros)
[20111205-01:58:30] [warning] alsa_set_params: Error setting period size.
[20111205-01:58:30] [error] alsa_open_w: Error setting params for more than 3 seconds
[20111205-01:58:30] [warning] Audio (ring) MSTicker: We are late of 3110 miliseconds.
<snip>

also note that I can get ffplay to play .wav files with just the defaults i.e ffplay test.wav and so on... however it fails on a video with surround51 as it apparently fails to convert it to plain stereo for some reason.

play surround:
ffplay sintel-1024-surround.mp4
ffplay version 0.7.4, Copyright (c) 2003-2011 the FFmpeg developers
<snip>
  Duration: 00:14:48.06, start: 0.000000, bitrate: 1164 kb/s
    Stream #0.0(und): Video: h264 (High), yuv420p, 1024x436 [PAR 1:1 DAR 256:109], 718 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16, 440 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
SDL_OpenAudio: Couldn't open audio device: No such file or directory

play an some wav I downloaded just  to test:
 ffplay whysoserious03.wav
ffplay version 0.7.4, Copyright (c) 2003-2011 the FFmpeg developers
<snip>
Input #0, wav, from 'whysoserious03.wav':
  Duration: 00:00:04.05, bitrate: 33 kb/s
    Stream #0.0: Audio: mp3, 16000 Hz, mono, s16, 32 kb/s

I'd apreciate an ideas about fixing this I believe it is a linphone problem as it finds the card but passes incompatible paremeters. And as I also mentioned ffplay can definitely play mono 16 bit audio..

I may end up just using a USB audio dongle but I'd rather not and I'm rather pressed for time.

Chase







Chase Rayfield

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]