thanks,
now the work on a recording application can begin![]()
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.
Last edited by oopsware; 04-16-2008 at 09:13 AM.
thanks,
now the work on a recording application can begin![]()
welcome back oopsware.![]()
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
Last edited by droopyargentina; 04-16-2008 at 01:40 PM.
In Argentina
Thanks![]()
wow~~
oopsware...u have done a great job