Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Basic4ppc Wishlist
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?


Volume control etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2008, 12:40 PM
Senior Member
 
Join Date: May 2007
Posts: 152
Awards Showcase
Competition Winner 
Total Awards: 1
Default Volume control etc.

I have been looking for means to control the volume from the application without success.
the registry has entries under Current_user\controlpanel\volume but these only serve for storing the last volume for the next use, not for real time changes.
I have found a small application that is an independent volume control, which shows that there is a way to do it. It is attached.

Anybody has an idea ?

I think that controlling the screen brightness in real time is a similar problem (without opening the windows form that has the sliding bar).
Attached Files
File Type: zip VolumeCtrl.zip (9.3 KB, 47 views)
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #2 (permalink)  
Old 06-12-2008, 11:53 PM
Junior Member
 
Join Date: Feb 2008
Posts: 34
Default FMOD Library should be able to do that

FMOD is a B4PPC library that wraps the FMODCE library from FMOD.org. Right? According to FMOD.org (FMOD docs) volume control is supported on Win32 and WinCE.

Quote:
FMUSIC_SetMasterVolume
Sets a songs master volume.

signed char F_API FMUSIC_SetMasterVolume(
FMUSIC_MODULE *mod,
int volume
);


Parameters
mod Pointer to the song to have its master volume set.

volume value from 0-256. 0 = silence, 256 = full volume.
Reply With Quote
  #3 (permalink)  
Old 06-27-2008, 09:59 AM
Standa's Avatar
Junior Member
 
Join Date: May 2007
Location: Czech Republic
Posts: 25
Default

Very interesting - this is last feature what I need for my music player. So, is it possible to include volume control to Fmod for B4ppc?
__________________
XDA Flame
Reply With Quote
  #4 (permalink)  
Old 06-28-2008, 01:19 PM
Junior Member
 
Join Date: Feb 2008
Posts: 34
Default

My thoughts were that the overhead for using FMOD is so huge that we should be able to take advantage of as much of that overhead as possible. fmodce.dll from fmod.org is 440 Kb.
Reply With Quote
  #5 (permalink)  
Old 06-28-2008, 01:24 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,112
Default

Found this on the web after a short search..
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
  #6 (permalink)  
Old 06-28-2008, 06:29 PM
Knows the basics
 
Join Date: May 2007
Posts: 86
Default

If you are dealing with the FMOD library then yes we need to somehow wrap the volume class into a Basic4ppc library. However if you are making a fas action game, orneed a wave file lowered in the background, check out the library entitled New Hekkus Sound Library Wrapper, which let's you control all aspects in real-time of wave files. You can even mix them in real-time as well. HTH.
Reply With Quote
  #7 (permalink)  
Old 07-12-2008, 03:06 PM
Junior Member
 
Join Date: Feb 2008
Posts: 34
Default

bump
Reply With Quote
  #8 (permalink)  
Old 07-13-2008, 06:01 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,818
Default

Here: FMOD library V1.5
Reply With Quote
  #9 (permalink)  
Old 07-13-2008, 01:26 PM
Junior Member
 
Join Date: Feb 2008
Posts: 34
Default

Many thanks.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
volume for speaker sloopa Basic4ppc Wishlist 1 05-04-2007 06:42 PM


All times are GMT. The time now is 01:02 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0