adlib.c (63dba7e6b18aa85392800f0cb7c897e3a05b097b) | adlib.c (85bc58520c0e43660cbbe51b9eb5022a0baafe9f) |
---|---|
1/* 2 * QEMU Proxy for OPL2/3 emulation by MAME team 3 * 4 * Copyright (c) 2004-2005 Vassili Karpov (malc) 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 255 unchanged lines hidden (view full) --- 264 } 265 else { 266 OPLSetTimerHandler(s->opl, timer_handler, s); 267 s->enabled = 1; 268 } 269 270 as.freq = s->freq; 271 as.nchannels = SHIFT; | 1/* 2 * QEMU Proxy for OPL2/3 emulation by MAME team 3 * 4 * Copyright (c) 2004-2005 Vassili Karpov (malc) 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 255 unchanged lines hidden (view full) --- 264 } 265 else { 266 OPLSetTimerHandler(s->opl, timer_handler, s); 267 s->enabled = 1; 268 } 269 270 as.freq = s->freq; 271 as.nchannels = SHIFT; |
272 as.fmt = AUD_FMT_S16; | 272 as.fmt = AUDIO_FORMAT_S16; |
273 as.endianness = AUDIO_HOST_ENDIANNESS; 274 275 AUD_register_card ("adlib", &s->card); 276 277 s->voice = AUD_open_out ( 278 &s->card, 279 s->voice, 280 "adlib", --- 55 unchanged lines hidden --- | 273 as.endianness = AUDIO_HOST_ENDIANNESS; 274 275 AUD_register_card ("adlib", &s->card); 276 277 s->voice = AUD_open_out ( 278 &s->card, 279 s->voice, 280 "adlib", --- 55 unchanged lines hidden --- |