Opened 18 years ago

Closed 18 years ago

#115 closed defect (fixed)

Mute button does not work properly

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: UNIAUD-plugin Version:
Severity: normal Keywords:
Cc:

Description

The WVGUI mute button does not work properly: When playing a sound file, the button is showing the "crossed speaker" symbol, but I can hear the sound. When I press the mute button, the sound goes off. Afterwards the sound cannot be re-enabled.

The reason is, that my sound card has "Front Playback", "Surround Playback", "LFE Playback" and "Center Playback" controls only. But uniplug.c/AudioSetSoundState() expects a "PCM playback" control instead to work properly.

Attachments (1)

UNIPLUG.zip (2.8 KB) - added by vladest 18 years ago.
new uniaud plugin

Download all attachments as: .zip

Change History (6)

comment:1 Changed 18 years ago by vladest

Owner: changed from vladest to anonymous
Status: newassigned

Try attached plugin

comment:2 Changed 18 years ago by anonymous

That fix does not solve the problem. Now the front speakers' switches are enabled and disabled correctly in uniplug.c/AudioSetSoundState(). But AudioSetSoundState?() still reports back an error code to the caller, because "PCM Playback Switch" does not exist. So the GUI mute button cannot reenable sound after once having disabled sound. Btw, the "Front Playback Volume" isn't modified either in uniplug.c/AudioOutSetVolume() when moving the GUI volume slider.

comment:3 Changed 18 years ago by vladest

looks like I cant attach a file :(

Changed 18 years ago by vladest

Attachment: UNIPLUG.zip added

new uniaud plugin

comment:4 Changed 18 years ago by vladest

Ok, try this

comment:5 Changed 18 years ago by anonymous

Resolution: fixed
Status: assignedclosed

OK, problem is fixed now. Thank you very much.

Note: See TracTickets for help on using tickets.