Smartphone Thoughts - Daily News, Views, Rants and Raves

Be sure to register in our forums! Share your opinions, help others, and enter our contests.





Go Back   Thoughts Media Forums > SMARTPHONE THOUGHTS > Smartphone Developer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-24-2006, 08:05 AM
Neophyte
Join Date: Mar 2006
Posts: 9
Default problem in voice recording

Hi
i'm developing smartdevice application (using VS2003 c#.net) which

runs on microsoft smartphone 2003 platform.
what my application is it will record the voice for this i'm using
functions of coredll.dll., and the recorded voice is saved into a

file with the extension .wav
i took the code for recording voice form this site

http://msdn.microsoft.com/library/de...brary/en-us/dn

netcomp/html/PInvokeLib.asp


and before starting and end of the voice recording it has to

produce beep sound .

for the beep sound to be produced i'm using function

"WCE_PlaySound" of coredll.dll, for this function i'm passing the

name of file(.wav) which produces beep sound.

so first i called the function WCE_PlaySound to produce the beep

sound then i called the method to record the voice and again called

the function WCE_PlaySound to produce the beep sound to indicate

end of recording.

when i tested the application which is not used any function call

to produce the beep sound then , the application worked fine that i

can here the voice i recorded, but when i included the code to call

the function to produce beep sound then it is not recording any

voice, but if i remove that code it is recording the voice and i

can here.
why my application is behaving like this can any one tell me how to

solve this problem.

its very urgent for me.

thanx in advance
jyothi
 
Reply With Quote
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:18 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7