Search
lxdream.org :: lxdream/src/drivers/audio_esd.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/audio_esd.c
changeset 86:f151e63f9754
prev78:4ba04e1d8448
next106:9048bac046c3
author nkeynes
date Sun Jan 22 22:40:05 2006 +0000 (14 years ago)
permissions -rw-r--r--
last change Add aica_enable() function for aica-only mode, disable by default
Halt ARM on invalid address but leave everything else running
Error if ESD can't start
file annotate diff log raw
1.1 --- a/src/drivers/audio_esd.c Mon Jan 16 11:22:41 2006 +0000
1.2 +++ b/src/drivers/audio_esd.c Sun Jan 22 22:40:05 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: audio_esd.c,v 1.4 2006-01-16 11:22:41 nkeynes Exp $
1.6 + * $Id: audio_esd.c,v 1.5 2006-01-22 22:40:05 nkeynes Exp $
1.7 *
1.8 * The esd (esound) audio driver
1.9 *
1.10 @@ -38,6 +38,9 @@
1.11 else esd_format |= ESD_MONO;
1.12
1.13 esd_handle = esd_play_stream( esd_format, rate, "localhost", "dreamon" );
1.14 + if( esd_handle == -1 ) {
1.15 + ERROR( "Unable to open audio output (ESD)" );
1.16 + }
1.17 return TRUE;
1.18 }
1.19
.