drfjx - 2013-12-26

Hello, you all

I am facing a strange problem, our box is arm-based runnig ubuntu with alsa and pulseaudio, the following test worked fine:

arecord -f S16_LE -D plughw:0,0 -r 8000 | aplay -f S16_LE -D plughw:0,0 -r 8000
arecord -f S16_LE -D plughw:0,0 -r 16000 | aplay -f S16_LE -D plughw:0,0 -r 16000
an so on up to 32k,44k,48k.

when using Mumble's Audio Tuninf Wizard to test speaker, I could only hear my voice with very lower tune than my normal voice, and when I use Linphone do the same test I heard my voice with very higher tune than standard.

in Mumble context I used the following setting:

Audio Tuninf Wizard:
input Device
This is the device your microphone is connectedto.
System:
ALSA
Device:
[hw:CARD=AMLCS42L52,DEV=] AML-CS42L52, Direct hardware device without any conversions
or
[hw:CARD=AMLCS42L52,DEV=] AML-CS42L52, Direct hardware device with all software conversions

if I select Pulse options I could hear nothing except choppy sounds.

I am puzzled if the problem is in driver or alsa or pulseaudio? any advice are appreciated.

I'd like post the ouput informations when Audio Tuninf Wizard start and, ones when I selected the first option above in Audio Tuninf Wizard:

I run mumble in a terminal:

administrator@sdn:~$ mumble
QGtkStyle was unable to detect the current GTK+ theme.
PulseAudio: Connection failure: Connection refused
G15LCDEngineUnix: Unable to connect to G15Daemon.
CELT bitstream 8000000b from libcelt0.so.0.0.0
Locale is en_US
TextToSpeech: Failed to contact speech dispatcher.
Database SQLite: "3.7.9"
WARNING The program 'mumble' uses the Apple Bonjour compatibility layer of Avahi.
WARNING Please fix your application to use the native API of Avahi!
WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=mumble
Overlay: Listening on "/home/administrator/.MumbleOverlayPipe"
GlobalShortcutX: Unable to open any keyboard input devices under /dev/input, falling back to XInput
GlobalShortcutX: Using XInput 2.2
GlobalShortcutX: XInput 4:Virtual core XTEST pointer
GlobalShortcutX: XInput 5:Virtual core XTEST keyboard
GlobalShortcutX: XInput 9:key_input
GlobalShortcutX: XInput 10:aml_keypad
GlobalShortcutX: XInput 6:Logitech USB Optical Mouse
GlobalShortcutX: XInput 7:Logitech USB Keyboard
GlobalShortcutX: XInput 8:Logitech USB Keyboard
No systemtrayicon available
AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
ALSAAudioOutput: Initialized
ALSAAudioOutput: ALSA reports 10000 output channels. Clamping to 2.
ALSAAudioOutput: Actual buffer 48000 hz, 2 channel 3072 samples [512 per period]
ALSAAudioOutput: Initializing 2 channel, 48000 hz mixer
AudioOutput: Initialized 2 channel 48000 hz mixer
ALSAAudioInput: Initing audiocapture default.
ALSAAudioInput: Actual buffer 48000 hz, 1 channel 4096 samples [512 per period]
AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo
warning: The VAD has been replaced by a hack pending a complete rewrite

when the first options is selected

ALSAAudioInput: Releasing ALSA Mic.
ALSAAudioOutput: Destroyed
AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
ALSAAudioOutput: Initialized
ALSAAudioInput: Initing audiocapture default.
ALSAAudioInput: Actual buffer 48000 hz, 1 channel 4096 samples [512 per period]
AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo
ALSAAudioInput: Releasing ALSA Mic.
ALSAAudioOutput: ALSA reports 10000 output channels. Clamping to 2.
ALSAAudioOutput: Actual buffer 48000 hz, 2 channel 3072 samples [512 per period]
ALSAAudioOutput: Initializing 2 channel, 48000 hz mixer
AudioOutput: Initialized 2 channel 48000 hz mixer
ALSAAudioOutput: Destroyed
AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
ALSAAudioOutput: Initialized
ALSAAudioInput: Initing audiocapture default.
ALSAAudioInput: Actual buffer 48000 hz, 1 channel 4096 samples [512 per period]
AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo
ALSAAudioOutput: ALSA reports 10000 output channels. Clamping to 2.
ALSAAudioOutput: Actual buffer 48000 hz, 2 channel 3072 samples [512 per period]
ALSAAudioOutput: Initializing 2 channel, 48000 hz mixer
AudioOutput: Initialized 2 channel 48000 hz mixer
warning: The VAD has been replaced by a hack pending a complete rewrite
ALSAAudioInput: Releasing ALSA Mic.
AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
ALSAAudioInput: Initing audiocapture hw:CARD=AMLCS42L52,DEV=0.
ALSAAudioInput: Actual buffer 48000 hz, 1 channel 4096 samples [512 per period]
AudioInput: Initialized mixer for 1 channel 48000 hz mic and 0 channel 48000 hz echo
warning: The VAD has been replaced by a hack pending a complete rewrite

thanks

Liuwf 2013 Dec. 26