sim-card
/
qemu
Archived
10
0
Fork 0

Don't define HIGH_LATENCY for ARM, this was a workaround for an ALSA problem.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2766 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2007-05-02 02:11:51 +00:00
parent 549444e1f0
commit 5a1237c45f
2 changed files with 3 additions and 3 deletions

View File

@ -456,7 +456,7 @@ VL_OBJS+= arm-semi.o
VL_OBJS+= pxa2xx.o pxa2xx_pic.o pxa2xx_gpio.o pxa2xx_timer.o pxa2xx_dma.o
VL_OBJS+= pxa2xx_lcd.o pxa2xx_mmci.o pxa2xx_pcmcia.o max111x.o
VL_OBJS+= spitz.o ads7846.o ide.o serial.o nand.o $(AUDIODRV)
CPPFLAGS += -DHAS_AUDIO -DHIGH_LATENCY
CPPFLAGS += -DHAS_AUDIO
endif
ifeq ($(TARGET_BASE_ARCH), sh4)
VL_OBJS+= shix.o sh7750.o sh7750_regnames.o tc58128.o

View File

@ -57,6 +57,8 @@ static struct {
int period_size_out_overriden;
int verbose;
} conf = {
#define DEFAULT_BUFFER_SIZE 1024
#define DEFAULT_PERIOD_SIZE 256
#ifdef HIGH_LATENCY
.size_in_usec_in = 1,
.size_in_usec_out = 1,
@ -69,8 +71,6 @@ static struct {
.buffer_size_out = 400000,
.period_size_out = 400000 / 4,
#else
#define DEFAULT_BUFFER_SIZE 1024
#define DEFAULT_PERIOD_SIZE 256
.buffer_size_in = DEFAULT_BUFFER_SIZE * 4,
.period_size_in = DEFAULT_PERIOD_SIZE * 4,
.buffer_size_out = DEFAULT_BUFFER_SIZE,