comparison src/CoreAudio/init.c @ 2124:b8da6a0b0da2

s/bmp_cfg_/aud_cfg_/g
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 24 Oct 2007 07:34:02 +0300
parents 2ebeb7816c5e
children 7b284f323ad8
comparison
equal deleted inserted replaced
2123:c349bd73af71 2124:b8da6a0b0da2
37 osx_cfg.prebuffer = 25; 37 osx_cfg.prebuffer = 25;
38 osx_cfg.use_alt_audio_device = FALSE; 38 osx_cfg.use_alt_audio_device = FALSE;
39 osx_cfg.alt_audio_device = NULL; 39 osx_cfg.alt_audio_device = NULL;
40 osx_cfg.use_master=0; 40 osx_cfg.use_master=0;
41 41
42 if ((cfgfile = bmp_cfg_db_open())) 42 if ((cfgfile = aud_cfg_db_open()))
43 { 43 {
44 bmp_cfg_db_get_int(cfgfile, "OSX", "audio_device", &osx_cfg.audio_device); 44 aud_cfg_db_get_int(cfgfile, "OSX", "audio_device", &osx_cfg.audio_device);
45 bmp_cfg_db_get_int(cfgfile, "OSX", "mixer_device", &osx_cfg.mixer_device); 45 aud_cfg_db_get_int(cfgfile, "OSX", "mixer_device", &osx_cfg.mixer_device);
46 bmp_cfg_db_get_int(cfgfile, "OSX", "buffer_size", &osx_cfg.buffer_size); 46 aud_cfg_db_get_int(cfgfile, "OSX", "buffer_size", &osx_cfg.buffer_size);
47 bmp_cfg_db_get_int(cfgfile, "OSX", "prebuffer", &osx_cfg.prebuffer); 47 aud_cfg_db_get_int(cfgfile, "OSX", "prebuffer", &osx_cfg.prebuffer);
48 bmp_cfg_db_get_bool(cfgfile, "OSX", "use_master", &osx_cfg.use_master); 48 aud_cfg_db_get_bool(cfgfile, "OSX", "use_master", &osx_cfg.use_master);
49 bmp_cfg_db_get_bool(cfgfile, "OSX", "use_alt_audio_device", &osx_cfg.use_alt_audio_device); 49 aud_cfg_db_get_bool(cfgfile, "OSX", "use_alt_audio_device", &osx_cfg.use_alt_audio_device);
50 bmp_cfg_db_get_string(cfgfile, "OSX", "alt_audio_device", &osx_cfg.alt_audio_device); 50 aud_cfg_db_get_string(cfgfile, "OSX", "alt_audio_device", &osx_cfg.alt_audio_device);
51 bmp_cfg_db_get_bool(cfgfile, "OSX", "use_alt_mixer_device", &osx_cfg.use_alt_mixer_device); 51 aud_cfg_db_get_bool(cfgfile, "OSX", "use_alt_mixer_device", &osx_cfg.use_alt_mixer_device);
52 bmp_cfg_db_get_string(cfgfile, "OSX", "alt_mixer_device", &osx_cfg.alt_mixer_device); 52 aud_cfg_db_get_string(cfgfile, "OSX", "alt_mixer_device", &osx_cfg.alt_mixer_device);
53 bmp_cfg_db_close(cfgfile); 53 aud_cfg_db_close(cfgfile);
54 } 54 }
55 } 55 }