The device is a Kindle 3.
Again for the interested:
vi /etc/asound.conf
also
[root@kindle /]#
cat /proc/asound/pcm
00-00: WM8960 HiFi WM8960-I2S-0 : : playback 1 : capture 1
and
[root@kindle /etc]#
arecord --list-devices (or)
aplay --list-devices
[root@kindle /etc]#
aplay --list-pcms
Perhaps a buffer size there. perhaps not.
so some interesting info. Standard 44.1k 16bit setup in the main.
Version of Alsa:
http://www.linuxfromscratch.org/blfs.../alsa-lib.html
offers the exact version of ALSA used: ALSA Library-1.0.13
Writing direct to /dev/snd/pcmxx0
It's not possible to write directly to the interface as that operation is deprecated, AFAIK on some systems this can be bypassed through the use of an application.
DirectfB
usr/share/directfb-1.2.0 contains
cursor.dat perhaps an indication that the box runs
http://directfb.org/downloads/Core/D...2.0-rc1.tar.gz
DirectFB offers some interesting options according to their site. I'll have to look it over in depth, this may or may not indicate audio extensions AFAIK, which isn't far.
I don't know haven't got it to compile yet.
stumbled on the lib support. not available for my system easily. ho hum
SDL:
SDL support is not planned in the near future for kindles. Go figure. People have run it embedded AIUI though.
More info on Alsa
There are various excellent notes - and various reasonable ones - littering the net.
http://www.sabi.co.uk/Notes/linuxSoundALSA.html seems fairly decent for entry-concept level stuff.
and the ubiquitous
http://www.alsa-project.org/alsa-doc...lib/index.html
Examples of code
I am no code genius, but I can expand on the work of others.
I am aiming to provide decentish, full duplex support one day, and in the short term enough documentation that people can get the sound working.