Problème du son sous DOSBOX

Réduire
X
 
  • Heure
  • Afficher
Tout nettoyer
nouveaux messages
  • lolita4882
    Compte archivé

    • juin 2008
    • 1

    #1

    Problème du son sous DOSBOX

    Bonjour à tous,
    j'ai une application developpée sous borland C++ 5.02 qui emmet un bip en utilisant la fonction "putchar ('\a').
    J'ai besoin de lancer cette application sous dosbox, le problème c'est que le bip n'est pas émis.

    ci dessous le fichier de configuration de dosbox:
    [sdl]
    # fullscreen -- Start dosbox directly in fullscreen.
    # fulldouble -- Use double buffering in fullscreen.
    # fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
    # windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
    # output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
    # autolock -- Mouse will automatically lock, if you click on the screen.
    # sensitiviy -- Mouse sensitivity.
    # waitonerror -- Wait before closing the console if dosbox has an error.
    # priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest.
    # Second entry behind the comma is for when dosbox is not focused/minimized.
    # mapperfile -- File used to load/save the key/event mappings from.
    # usescancodes -- Avoid usage of symkeys, might not work on all operating systems.

    fullscreen=false
    fulldouble=false
    fullresolution=original
    windowresolution=original
    output=surface
    autolock=false
    sensitivity=100
    waitonerror=true
    priority=higher,normal
    mapperfile=mapper.txt
    usescancodes=true

    [dosbox]
    # language -- Select another language file.
    # memsize -- Amount of memory dosbox has in megabytes.
    # machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
    # captures -- Directory where things like wave,midi,screenshot get captured.

    language=
    machine=vga
    captures=capture
    memsize=16

    [render]
    # frameskip -- How many frames dosbox skips before drawing one.
    # aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
    # scaler -- Scaler used to enlarge/enhance low resolution modes.
    # Supported are none,normal2x,normal3x,advmame2x,advmame3x,advinterp2x,advinterp3x,tv2x,tv3 x,rgb2x,rgb3x,scan2x,scan3x.

    frameskip=0
    aspect=false
    scaler=none

    [midi]
    mpu401=true
    device=win32


    [cpu]
    # core -- CPU Core used in emulation: simple,normal,full,dynamic.
    # cycles -- Amount of instructions dosbox tries to emulate each millisecond.
    # Setting this higher than your machine can handle is bad!
    # You can also let DOSBox guess the correct value by setting it to auto.
    # Please note that this guessing feature is still experimental.
    # cycleup -- Amount of cycles to increase/decrease with keycombo.
    # cycledown Setting it lower than 100 will be a percentage.
    # cycles=15000 fonctionne

    core=dynamic
    cycles=auto
    cycleup=500
    cycledown=20


    [serial]
    # serial1-4 -- set type of device connected to com port.
    # Can be disabled, dummy, modem, directserial.
    # Additional parameters must be in the same line in the form of
    # parameter:value. Parameters for all types are irq, startbps, bytesize,
    # stopbits, parity (all optional).
    # for directserial: realport (required).
    # for modem: listenport (optional).
    # Example: serial1=modem listenport:5000
    serial1=directserial realport:com1 irq:4 stratbps:9600 bytesize:8 stopbits:1 parity:n
    serial2=directserial realport:com2 irq:3 stratbps:19200 bytesize:8 stopbits:1 parity:n
    serial3=disabled
    serial4=disabled



    [dos]
    # xms -- Enable XMS support.
    # ems -- Enable EMS support.
    # umb -- Enable UMB support (false,true,max).

    xms=false
    ems=false
    umb=false

    [ipx]
    # ipx -- Enable ipx over UDP/IP emulation.

    ipx=false


    [mixer]
    # nosound -- Enable silent mode, sound is still emulated though.
    # rate -- Mixer sample rate, setting any devices higher than this will
    # probably lower their sound quality.
    # blocksize -- Mixer block size, larger blocks might help sound stuttering
    # but sound will also be more lagged.
    # prebuffer -- How many milliseconds of data to keep on top of the blocksize.

    nosound=false
    rate=22000
    blocksize=2048
    prebuffer=10


    [speaker]
    # pcspeaker -- Enable PC-Speaker emulation.
    # pcrate -- Sample rate of the PC-Speaker sound generation.
    # tandy -- Enable Tandy Sound System emulation (off,on,auto).
    # For auto Tandysound emulation is present only if machine is set to tandy.
    # tandyrate -- Sample rate of the Tandy 3-Voice generation.
    # disney -- Enable Disney Sound Source emulation. Covox Voice Master and Speech Thing compatible.

    pcspeaker=true
    pcrate=22000
    tandy=auto
    tandyrate=20000
    disney=false

    [autoexec]
    # Lines in this section will be run at startup.



    Merci de m'aider, j'ai vraiment besoin de votre aide
Chargement...