I am trying to program a voice recorder as explained in the Multimedia
library at www.opennetcf.org and getting the error
Namespace or type 'Audio' for the imports 'OpenNET
on the line
Imports OpenNETCF.Multimedia.Audio
Am I going about this wrong?
I have the OpenNETCF framework installed (I ran SDFSetup11.msi and it
seemed to work OK)
Any help would be appreciated!
-----
Public Class Audio
Public Class Player
Inherits Audio
Properties:
Playing = True, if the player is currently playing. False otherwise
Volume = Gets or sets playback volume on the current wave device
Methods:
Equals = (inherited from Object) Determines whether the specified
Object is equal to the current Object.
GetHashCode = (inherited from Object) Serves as a hash function for a
particular type, suitable for use in hashing algorithms and data
structures like a hash table.
GetType = (inherited from Object) Gets the Type of the current
instance.
Pause = Pause Play
Play = Plays waveform contained in the given stream. Stream is
exepcted to contain full riff header
Restart = Restart a paused wave file
Stop = Stop Play
ToString = (inherited from Object) Returns a String that represents
the current Object.
Public Class Recorder
Inherits Audio
Properties:
Recording
Methods:
Equals = (inherited from Object) Determines whether the specified
Object is equal to the current Object.
GetHashCode = (inherited from Object) Serves as a hash function for a
particular type, suitable for use in hashing algorithms and data
structures like a hash table.
GetType = (inherited from Object) Gets the Type of the current
instance.
RecordFor = Overloaded. Record sound data for specified number of
seconds at 11025 sps and 1 channel The stream will be a properly
formatted RIFF file
Stop = Stop recording operation currently in progress. Throws an error
if no recording operation is in progress
SupportedRecordingFormats = Overloaded. A list of PCM wave formats
supported by the default device
ToString = (inherited from Object) Returns a String that represents
the current Object.
Enumeration Description
SoundFormats Flags for the supported audio formats for recording and
playback devices
Delegate Description
WaveCloseHandler Handles generic wave device Close event
WaveDoneHandler Handles generic wave device Operation Complete event
(Record/Play)
WaveFinishedHandler Handles wave device Recording Complete event
WaveOpenHandler Handles generic wave device Open event