#1
|
|||
|
|||
vizrecorder
I get an error (winviz.exe has encountered a problem and....) when I try to use the vizrecorder.dll. I am running the following code and it crashes when I press spacebar:
import viz import vizrecorder viz.go() text = viz.add(viz.TEXT3D,'Recording',viz.SCREEN) text.alignment(viz.TEXT_CENTER_CENTER) text.translate(0.5,0.5) text.visible(0) text.recording = 0 def mykey(key): if key == ' ': text.recording = not text.recording text.visible(text.recording) if text.recording: vizrecorder.record('voice.wav') else: vizrecorder.stop() viz.callback(viz.KEYBOARD_EVENT,mykey) |
#2
|
|||
|
|||
Hi,
Run the script without pressing the spacebar. Does it output anything? It should print out something along the lines of "** NOTIFY: Found the following sound capture devices:" |
#3
|
|||
|
|||
it says: error, could not initialize direct sound
|
#4
|
|||
|
|||
It should also print out another line that says what caused the error. Either way, can you check that DirectX 8.0 or above is installed on your computer.
To check, click the Windows Start menu, then Run. Type in "dxdiag" then press enter. A dialog should appear. On the first page of the dialog there will be a field that says "DirectX version:" |
#5
|
|||
|
|||
thanx for the help, the problem turns out to be related with the sound card.
alex |
|
|