Home > English, Linux & Programming > Solving Sound Problems with Dosbox in Ubuntu 8.10 and 9.04

Solving Sound Problems with Dosbox in Ubuntu 8.10 and 9.04

Hey guys, since I get a lot of hits to this article, I’d really appreciate if you leave a short note when this helped you, so we can see if this is a general configuration problem. Thanks!

Since ubuntu 8.10 I was having stuttering sound with dosbox. I just made a fresh install of 9.04 and still was experiencing such problems (pulseaudio ftw again…). I searched the web, alas was unable to find a solution that was actually working. After trying a couple of things, I finally seem to have found a solution which is working (at least for me): I set the mixing rate within dosbox to match that of pulseaudio. To make it short, change your conf in ~/.dosbox/ to

[mixer]
#   nosound: Enable silent mode, sound is still emulated though.
#      rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
#            Possible values: 22050, 44100, 48000, 32000, 16000, 11025, 8000, 49716.
# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
#            Possible values: 2048, 4096, 8192, 1024, 512, 256.
# prebuffer: How many milliseconds of data to keep on top of the blocksize.

nosound=false
#rate=22050
rate=44100      # Change this line
blocksize=2048
prebuffer=10

Also, to get rid of the initial midi warning I changed the following, though it may not be necessary:

[midi]
#     mpu401: Type of MPU-401 to emulate.
#             Possible values: intelligent, uart, none.
# mididevice: Device that will receive the MIDI data from MPU-401.
#             Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
# midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use. See README for details.

mpu401=intelligent
mididevice=default
midiconfig=128:0      # Change this line

Yet another pulseaudio problem solved.

Update: Also, setting output to opengl helps a lot, at least if you have compiz enabled.

  1. Wayneved
    January 28th, 2020 at 03:10 | #1

    Numberless thanks, this placement is bleeding valuable. http://de.testosteron.space/testosteron-tabletten-kur/

  2. January 28th, 2020 at 05:16 | #2
  3. January 28th, 2020 at 06:22 | #3

    Truly lots of wonderful material! Purchase Propranolol 80mg Without Prescription

  4. Wayneved
    January 28th, 2020 at 07:31 | #4

    Thanks, this placement is really beneficial. http://speed-com.fr/te-deseo-un-feliz-cumpleanos/

  5. Ernestbop
    January 28th, 2020 at 10:41 | #5

    This is nicely put! ! viagra without a doctor preion

  6. WayneSpign
    January 28th, 2020 at 10:42 | #6

    Cialis coupons for cialis generic cialis available

  7. Wayneved
    January 28th, 2020 at 11:52 | #7

    You’re a uncommonly practical internet instal; couldn’t coerce it without ya! http://it.testosteron.space/alimenti-che-stimolano-il-testosterone/

  8. January 28th, 2020 at 12:13 | #8

    Regards! I value this! tamsulosin hydrochloride

  9. Larrynar
    January 28th, 2020 at 15:44 | #9

    Many thanks. I value this. phenergan 25mg

  10. Wayneved
    January 28th, 2020 at 16:15 | #10

    Superior web position you have got in here. entgiftung mit säften

  11. January 28th, 2020 at 18:11 | #11

    Truly a lot of wonderful information! lisinopril hydrochlorothiazide

  12. Ernestbop
    January 28th, 2020 at 20:26 | #12

    You said it perfectly.. cialis 20 mg

  13. Wayneved
    January 28th, 2020 at 20:37 | #13

    Continue the stupefying inflame !! Lovin’ it! detox water recept

  14. January 29th, 2020 at 00:01 | #14

    You definitely made the point. canada pharmaceuticals online

  15. Wayneved
    January 29th, 2020 at 01:00 | #15

    I like this plot – its so usefull and helpfull. valeur normale testosterone ng/dl

  16. Ernestbop
    January 29th, 2020 at 01:02 | #16

    With thanks. An abundance of stuff!
    cbd oil benefits

  17. January 29th, 2020 at 03:43 | #17

    I visited several web pages except the audio feature for
    audio songs current at this web site is truly superb.

  18. Wayneved
    January 29th, 2020 at 05:24 | #18

    Colossal web site! It looks exceptionally businesslike! Maintain the exceptional work! testosteron kuur gevaarlijk

  19. January 29th, 2020 at 05:38 | #19

    Whoa lots of amazing information. Price Motilium Medicine

  20. Wayneved
    January 29th, 2020 at 09:52 | #20

    Remarkable Spot, Marinate the beneficial chore. Thanks a ton. http://bkproma.it/interventi-per-allungare-il-pene/

  21. January 29th, 2020 at 10:54 | #21
  22. January 29th, 2020 at 11:22 | #22

    You suggested it superbly. celebrex 200 mg

  23. WayneSpign
    January 29th, 2020 at 11:39 | #23

    Cialis generic cialis available current cost of cialis 5mg cvs

  24. Wayneved
    January 29th, 2020 at 14:18 | #24

    Incredibly beneficial….look to the fore to visiting again. http://nl.musclemass.space/spieropbouw-met-hardlopen/

  25. Larrynar
    January 29th, 2020 at 15:03 | #25

    Nicely put, Thank you. How To Buy Tretinoin Walmart

  26. January 29th, 2020 at 17:03 | #26
  27. Larrynar
    January 29th, 2020 at 19:34 | #27

    Regards, Excellent information! Neurontin Price List

  28. January 29th, 2020 at 20:28 | #28
Comment pages
1 12 13 14 287
  1. No trackbacks yet.

*