Opened 10 years ago

Closed 10 years ago

#2703 closed Bug (Duplicate)

Soundsetvolume doesn't work with object

Reported by: Champak Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


In the following code soundsetwavevolume works when audio is played through soundplay, but not when played through a wmp object. When played through the object, the volume bar of the script will be moved to the correct position in the windows volume mixer, but the audible volume doesn't actually change unless the bar is clicked on with the mouse.

; SoundPlay("C:\Users\Lab\Music\Test\One Me.mp3")

 $OPLAYER2 = ObjCreate("wmplayer.ocx")
 $OPLAYER2.url = "C:\Users\Lab\Music\Test\One Me.mp3"

For $i = 0 To 100 Step 10
    Soundsetwavevolume ($i)

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by anonymous

Error in title, please delete

comment:2 Changed 10 years ago by Melba23

  • Resolution set to Duplicate
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.