Audio output on i.Mx6Q board
-
Hi,
we custom made i.Mx6Q Freescale board (Cortex A9). I have developed an application, where it will generate synthetic audio from 200Hz to 6KHz (Audio tone changes based on some conditions). when i am running the application on My host machine (RHEL 6.0) it works fine, but running on board it throws an error (unknown PCM).
So in order to debug i just checked and came to know on board when i run QAudioDeviceInfo::availabledevices().size() is returning zero, so because of this am not able to set default device for audio output. When i run it on host machine its returning more than 0 and able to set default device to play audio.
To confirm audio codec availability on target board i ran command: cat /proc/asound/cards and it returned with available codec chip SGTL-5000
I have stuck up in this problem from past one week, there is no break through.
Any helt would be much appreciated....
-
Hi,
Did you try to run the ALSA tools to ensure the device is running properly ?
-
At first I would say no, but you should ask him whether they customized Qt for the board.
-
I forgot to ask: what version are you currently using ? Did you check that you have the support enabled when configuring your Qt build ?
-
But what would be interesting is to check what options where used by LTIB when configuring Qt.
By the way, which version of Qt are you trying to run on the board now ?
-
Am running Qt 4.6.0 on the board.
Following are the configurations for qt:./configure --prefix=$RPM_BUILD_DIR/../../rootfs/usr/local/Trolltech -embedded arm -xplatform qws/linux-g++-mx -release
-qt-gfx-linuxfb -qt-kbd-tty -qt-mouse-tslib -little-endian -host-little-endian -fontconfig -sm -v -opensource -confirm-license $XTRA_OPTS -
Ok… I've misunderstood you a bit.
Anyway, now, does the configure output shows that ALSA is detected ?
-
Good question, it's one of the first place I would check
-
Yes it is