I have a problem with the record.
I can listen to music but not record.
define SECONDS 500
samp1= FSOUND_Sample_Alloc(0, 44100 * SECONDS,FSOUND_LOOP_NORMAL | FSOUND_NORMAL,44100,255,127,1);
while(FSOUND_Record_GetPosition() <(44100*SECONDS) && !kbhit())
printf("Record Position: %d\n",FSOUND_Record_GetPosition());
The pointer is stange
- ffomnislash asked 12 years ago
start =>Sounds and Audio Devices => Audio panel =>
Click the Volume button in Sound Recording box => Click Options,Properties,Check the all checkbox, Click OK => Select Proper Device( Usually Mono out or Stereo out or Wave out)
If you set the wrong device to the default recording device your computer becames deaf. I don’t know about constraint error, but this is one reason make your computer deaf.
- kiplring answered 12 years ago
Excuse me, I don’t speak very quite English.
I precise my problem:
I am under linux (Fedora Core 2)
Constraint error = Segmentation fault, excuse me I mixed 2 languages.
the recording lasts only 1-2 seconds what seems abnormal – I have to create a large buffer ,if not the program stop immediately. For example with 10 seconds, the program does not enter in the loop.
The pointer makes jumps random length
My microphone is activated and function with other program
- ffomnislash answered 12 years ago
Please login first to submit.