Search
lxdream.org :: lxdream/src/main.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/main.c
changeset 697:479b8c213f61
prev691:ad3356543392
next698:6d9fd7f54609
author nkeynes
date Sun Jun 22 04:01:27 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Commit work-in-progress CoreAudio driver
(along with various changes to the audio subsystem)
file annotate diff log raw
1.1 --- a/src/main.c Thu Jun 19 04:40:37 2008 +0000
1.2 +++ b/src/main.c Sun Jun 22 04:01:27 2008 +0000
1.3 @@ -148,19 +148,11 @@
1.4
1.5 if( without_bios ) {
1.6 bios_install();
1.7 - dcload_install();
1.8 + dcload_install();
1.9 }
1.10
1.11 - audio_driver_t audio_driver = get_audio_driver_by_name(audio_driver_name);
1.12 - if( audio_driver == NULL ) {
1.13 - ERROR( "Audio driver '%s' not found, aborting.", audio_driver_name );
1.14 - exit(2);
1.15 - } else if( audio_set_driver( audio_driver, 44100, AUDIO_FMT_16ST ) == FALSE ) {
1.16 - ERROR( "Failed to initialize audio driver '%s', using null driver",
1.17 - audio_driver->name );
1.18 - audio_set_driver( &audio_null_driver, 44100, AUDIO_FMT_16ST );
1.19 - }
1.20 -
1.21 + audio_init_driver( audio_driver_name, 44100, AUDIO_FMT_16ST );
1.22 +
1.23 if( headless ) {
1.24 display_set_driver( &display_null_driver );
1.25 } else {
.