EmulatorArchive / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
1 stars 0 forks source link

Issues adjusting volume #501

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe your system:
 - Operating System (be specific): Crunchbang linux waldorf (debian)
 - Machine type (32-bit or 64-bit):64-bit
 - Mupen64Plus version:1.99.5
 - Plugins used:I used the default plugins

Describe the problem: The volume doesn't lower, get higher, or mute when I 
press the keys to do any of those things. The terminal tells me /dev/mixer: : 
No such file or directory

Please provide any additional information below.
Not sure if the system running pulse audio has anything to do with this or not?

Original issue reported on code.google.com by t.mieste...@gmail.com on 26 May 2012 at 11:25

GoogleCodeExporter commented 9 years ago
Please check the VOLUME_CONTROL_TYPE in ~/.config/mupen64plus/mupen64plus.cfg 
and the audio plugin that you use in SDL

Original comment by s...@narfation.org on 27 May 2012 at 8:18

GoogleCodeExporter commented 9 years ago
Just for completeness:

VOLUME_CONTROL_TYPE should be set to one. The environment variable for SDL ( 
http://www.libsdl.org/docs/html/sdlenvvars.html ) called SDL_AUDIODRIVER should 
be set to pulse (your SDL library must be compiled with pulseaudio support)

SDL_AUDIODRIVER='pulse' mupen64plus --set 'Audio-SDL[VOLUME_CONTROL_TYPE]=1' 
--saveoptions YOURROM.z64

Original comment by willy.wa...@googlemail.com on 27 May 2012 at 10:37

GoogleCodeExporter commented 9 years ago
The audio defaults were:

[Audio-SDL]

# Mupen64Plus SDL Audio Plugin config parameter version number
Version = 1
# Frequency which is used if rom doesn't want to change it
DEFAULT_FREQUENCY = 33600
# Swaps left and right channels
SWAP_CHANNELS = False
# Size of primary buffer in output samples. This is where audio is loaded after 
it's extracted from n64's memory.
PRIMARY_BUFFER_SIZE = 16384
# Fullness level target for Primary audio buffer, in equivalent output samples
PRIMARY_BUFFER_TARGET = 10240
# Size of secondary buffer in output samples. This is SDL's hardware buffer.
SECONDARY_BUFFER_SIZE = 2048
# Audio resampling algorithm.  1 = unfiltered, 2 = SINC resampling (Best 
Quality, requires libsamplerate)
RESAMPLE = 1
# Volume control type: 1 = SDL (only affects Mupen64Plus output)  2 = OSS mixer 
(adjusts master PC volume)
VOLUME_CONTROL_TYPE = 1
# Percentage change each time the volume is increased or decreased
VOLUME_ADJUST = 5
# Default volume when a game is started.  Only used if VOLUME_CONTROL_TYPE is 1
VOLUME_DEFAULT = 80

@willy.waschmaschine I tried that command but since some type of mupen64plus 
update (maybe it was just one of the components or something that got updated), 
it tells me: 
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Error: Autoconfig keyboard setup invalid
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.5
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP 
Plugin' v1.99.5
Input: N64 Controller #1: Forcing default keyboard configuration
Input Error: Couldn't find config file 'InputAutoCfg.ini'
Input Error: Autoconfig keyboard setup invalid
Input Warning: No joysticks/controllers found
Input: Mupen64Plus SDL Input Plugin version 1.99.5 initialized.
Video Error: Unable to read ini file from disk
Video: ROM (CRC f815d0a743aa8922-45) not found in INI file
Video Error: CreateBuilder: unknown OGL device type

It says that for different roms that worked before the update. 

Original comment by t.mieste...@gmail.com on 28 May 2012 at 2:05

GoogleCodeExporter commented 9 years ago
Never mind I got mupen64plus working again, looks like after some program 
updates it removed one of the mupen64plus packages for some reason. Reinstalled 
that and now it plays again :) Also willy.waschmaschine thanks for the advice, 
the volume adjustments work now :)

Original comment by t.mieste...@gmail.com on 28 May 2012 at 3:21

GoogleCodeExporter commented 9 years ago

Original comment by s...@narfation.org on 28 May 2012 at 10:07