home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Utils.PlaySound around play
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Michael.K" data-source="post: 869005" data-attributes="member: 118906"><p>Hello. I need play sound around. So i do next:</p><p>[CODE] Utils.PlaySound("incoming_call.wav", false, false, true, true, true);[/CODE]</p><p>But if i select some button or else control which also play sound then "incoming_call.wav" stop.<span style="font-size: 12px"><span style="color: #333333"><span style="font-family: 'arial'">How can I control this procedure to stop the sound when I want, and notthen when click or dressed.</span></span></span></p><p><span style="font-family: 'arial'"><span style="color: #333333"><span style="font-size: 12px">in descrioption of PlaySound in winmm.dll sead that the sound can be stopped when the pass instead of a filename zero, but in your code i faund stub:</span></span></span></p><p> </p><p>[CODE]if (sSoundFile == null) return 0;</p><p> </p><p> if (sSoundFile.Length == 0) return 0;[/CODE]</p><p><span style="font-size: 12px"><span style="color: #333333"><span style="font-family: 'arial'">what should I do to stop sound at myself?</span></span></span></p></blockquote><p></p>
[QUOTE="Michael.K, post: 869005, member: 118906"] Hello. I need play sound around. So i do next: [CODE] Utils.PlaySound("incoming_call.wav", false, false, true, true, true);[/CODE] But if i select some button or else control which also play sound then "incoming_call.wav" stop.[SIZE=3][COLOR=#333333][FONT=arial]How can I control this procedure to stop the sound when I want, and notthen when click or dressed.[/FONT][/COLOR][/SIZE] [FONT=arial][COLOR=#333333][SIZE=3]in descrioption of PlaySound in winmm.dll sead that the sound can be stopped when the pass instead of a filename zero, but in your code i faund stub:[/SIZE][/COLOR][/FONT] [CODE]if (sSoundFile == null) return 0; if (sSoundFile.Length == 0) return 0;[/CODE] [SIZE=3][COLOR=#333333][FONT=arial]what should I do to stop sound at myself?[/FONT][/COLOR][/SIZE] [FONT=arial][COLOR=#333333][SIZE=3][/SIZE][/COLOR][/FONT] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Utils.PlaySound around play
Contact us
RSS
Top
Bottom