Ticket URL: <
http://trac.wxwidgets.org/ticket/3145#comment:7>
#3145: Mac wxMediaCtrl::SetVolume() fails when not playing
----------------------------------+-----------------------------------------
Reporter: ost12666 | Owner: csomor
Type: defect | Status: confirmed
Priority: low | Milestone:
Component: wxOSX (any toolkit) | Version:
Resolution: | Keywords:
Blockedby: | Patch: 0
Blocking: |
----------------------------------+-----------------------------------------
Comment(by oneeyeman):
Vadim,
I modified the sample as follows:
{{{
//
// Create our media control
//
m_mediactrl = new wxMediaCtrl();
+ m_mediactrl->!SetVolume( 0.0 );
// Make sure creation was successful
bool bOK = m_mediactrl->Create(this, wxID_MEDIACTRL, wxEmptyString,
wxDefaultPosition, wxDefaultSize, 0,
// you could specify a macro backend here like
// wxMEDIABACKEND_WMP10);
// wxT("wxPDFMediaBackend"));
szBackend);
}}}Now, compiling and running it does not produce any errors.Please let me
know if this is not enough.
--
Ticket URL: <
http://trac.wxwidgets.org/ticket/3145#comment:7>