The Motorola Development Community


Go Back   MotorolaFans.com Forums > Developments > Development
Notices

Development Hacking, development, scripts etc

Reply

MotoFans JUNR

Join Date: Feb 2006
Posts: 82
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to oopsware Send a message via MSN to oopsware
Quote  
#1
04-16-2008
Default header file for ezxsound-xscale-r.so

by the ezxsound.h , we can control audio device in the Ezx way. hope useful .

ZAudioNormalDev * zad = new ZAudioNormalDev(NORMAL_DEVICE, 44100, 2, 2, AUDIO_HARDWARE_DEFAULT, -1);
zad->write((short *)(&buf[0]), len);
delete zad;

the volume method in ZAudioNormalDev doesn't take effect.
control the volume like this:

SOUNDM_Audio_SystemCommand * zac = new SOUNDM_Audio_SystemCommand();
zac->SetOutputVolume(10);
delete zac;

note:you'd better backup current volume before you change it, and restore it when your application exit.

it sames the mediaplayer does not set system volume , soft volume control internal ? i don't known. but the fmradio use this to change volume, it is not a same audio device.
Attached Files
File Type: zip ezxsound.zip (3.5 KB, 45 views)

Last edited by oopsware; 04-16-2008 at 10:13 AM.
Reply With Quote


User Information
Current Phone: E680i
oopsware is offlineReport Post
The Following User Says Thank You to oopsware For This Useful Post:
swifty (04-16-2008)
mostly harmless

swifty's Avatar

Join Date: Jul 2005
Posts: 3,763
Thanks: 55
Thanked 174 Times in 153 Posts
Location: Franconia

Quote  
#2
04-16-2008
Default

thanks,
now the work on a recording application can begin
Reply With Quote


User Information
Current Phone: A780
Location: Franconia

swifty is offlineReport Post
based on a true rumor

naset's Avatar

Join Date: Jan 2006
Posts: 2,302
Thanks: 48
Thanked 151 Times in 103 Posts
Location: Alor Star, Kedah, Malaysia

Send a message via MSN to naset Send a message via Yahoo to naset
Quote  
#3
04-16-2008
Default

welcome back oopsware.
__________________




Your Open Source Community
Reply With Quote


User Information
Current Phone: Motorola E680i
Firmware: E680G 009
Location: Alor Star, Kedah, Malaysia

naset is online nowReport Post
Moto Fans SENR

Join Date: Jun 2007
Posts: 599
Thanks: 19
Thanked 212 Times in 64 Posts
Location: Buenos Aires

Quote  
#4
04-16-2008
Default

I need urgently to fix the BEEP sound when recording ACTIVE phone calls (voicenote tool) .Check this link for some info on SOUND in A1200


URL: http://wiki.openezx.org/PCAP2#Sound

When there is a voice conversation ACTIVE in our A1200, the register change some value. We need to fix this in the register by patching or modding the register. Maybe some developer could help us, and do not program with linux devices.Droopy
__________________
In Argentina

Last edited by droopyargentina; 04-16-2008 at 02:40 PM.
Reply With Quote


User Information
Current Phone: A1200
Firmware: 32p Spanish
Location: Buenos Aires

droopyargentina is offlineReport Post
MotoFans NWBE

SCys's Avatar

Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote  
#5
04-20-2008
Default

Thanks
Reply With Quote


User Information
Current Phone: E680i
SCys is offlineReport Post
MotoFans JUNR

Join Date: Feb 2006
Posts: 84
Thanks: 0
Thanked 3 Times in 2 Posts
Quote  
#6
04-20-2008
Default

wow~~
oopsware...u have done a great job
Reply With Quote


User Information
Current Phone: MotorolaEzx
SigarRon is offlineReport Post
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:10 PM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.