gus.c (7b93d78a04aa242d377ae213b79db6c319c71847) | gus.c (85bc58520c0e43660cbbe51b9eb5022a0baafe9f) |
---|---|
1/* 2 * QEMU Proxy for Gravis Ultrasound GF1 emulation by Tibor "TS" Schütz 3 * 4 * Copyright (c) 2002-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 --- 237 unchanged lines hidden (view full) --- 246 error_setg(errp, "ISA controller does not support DMA"); 247 return; 248 } 249 250 AUD_register_card ("gus", &s->card); 251 252 as.freq = s->freq; 253 as.nchannels = 2; | 1/* 2 * QEMU Proxy for Gravis Ultrasound GF1 emulation by Tibor "TS" Schütz 3 * 4 * Copyright (c) 2002-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 --- 237 unchanged lines hidden (view full) --- 246 error_setg(errp, "ISA controller does not support DMA"); 247 return; 248 } 249 250 AUD_register_card ("gus", &s->card); 251 252 as.freq = s->freq; 253 as.nchannels = 2; |
254 as.fmt = AUD_FMT_S16; | 254 as.fmt = AUDIO_FORMAT_S16; |
255 as.endianness = GUS_ENDIANNESS; 256 257 s->voice = AUD_open_out ( 258 &s->card, 259 NULL, 260 "gus", 261 s, 262 GUS_callback, --- 67 unchanged lines hidden --- | 255 as.endianness = GUS_ENDIANNESS; 256 257 s->voice = AUD_open_out ( 258 &s->card, 259 NULL, 260 "gus", 261 s, 262 GUS_callback, --- 67 unchanged lines hidden --- |