-test/aplay/mpg123.
Signed-off-by: Mathieu Sonet
---
v4->v5
* Move the lm4549 post_load hook in lm4549.c
* Fix naked debug printf in lm4549.c
* Clarify the size of the lm4549 audio buffer
Makefile.target |1 +
hw/lm4549.c | 336
hw/lm4549.h |
-test/aplay/mpg123.
Signed-off-by: Mathieu Sonet
---
v3->v4
* Fix debug message compile error
* Remove Versatile/PB reference in pl041.c
* Use 20-bit samples in the LM4549 API
* Add support for non-compact mode
* Now support 12, 16, 18 and 20 bit sample size
* A FIFO reset is triggered when
Peter Maydell wrote:
On 29 September 2011 18:31, Mathieu Sonet wrote:
This driver emulates the ARM AACI interface (PL041) connected to a LM4549
codec.
It enables audio playback for the Versatile/PB platform.
Limitations:
- Supports only a playback on one channel (Versatile/Vexpress
is hardwired to a LM4549 codec.
Versatile/PB test build:
linux-2.6.38.5
buildroot-2010.11
alsa-lib-1.0.22
alsa-utils-1.0.22
mpg123-0.66
Qemu host: Ubuntu 10.04 in Vmware/OS X
Playback tested successfully with speaker-test/aplay/mpg123.
Signed-off-by: Mathieu Sonet
---
v2->v3
This vers
buildroot-2010.11
alsa-lib-1.0.22
alsa-utils-1.0.22
mpg123-0.66
Qemu host: Ubuntu 10.04 in Vmware/OS X
Playback tested successfully with aplay and mpg123.
Signed-off-by: Mathieu Sonet
---
Makefile.target |1 +
hw/lm4549.c | 307 +
hw/lm4549.h
Paul Brook wrote:
On the other hand the current ac97.c implementation is a closely coupled
combination of a PCI/ACLink bridge (Intel 82801AA) with a generic AC97
codec. This has prevent me to easily reuse this code.
The milkymist-ac97 implementation is another case. It looks like a basic
impleme
Paul Brook wrote:
The PL041 driver provides an interface to an ACLink bus.
The LM4549 driver emulates a DAC connected on the ACLink bus.
Only audio playback is implemented.
Shouldn't this be shared with the other AC97 devices?
Paul
I organized the code in 3 different drivers (PL041 <=> ACLin
X
Playback tested successfully with aplay and mpg123.
Signed-off-by: Mathieu Sonet
---
Makefile.target |1 +
hw/aclink.c | 121 +++
hw/aclink.h | 63
hw/lm4549.c | 368 +
hw/pl041.c | 436