eCo Software Developer Connection


About DevCon
Subscription to DevCon
Budget of DevCon
FAQ


Roadmap
eCo Software runtime
eCo Software toolkit
Contacts

This is an old revision of the document!


DART interface to playback/record sound

  • libdart – DART library (Direct Audio Interface) libdart 1.0.0 KO Myung-Hun, Alex Strelnikov, Andrew Zabolotny

libdart API

 
APIRET APIENTRY dartInit( USHORT usDeviceIndex, ULONG ulBitsPerSample,
                           ULONG ulSamplingRate, ULONG ulDataFormat, ULONG ulChannels,
                           ULONG ulNumBuffers, ULONG ulBufferSize, BOOL fShareable,
                           PFNDICB pfndicb, PVOID pCBData );
APIRET APIENTRY dartClose( VOID );
APIRET APIENTRY dartPlay( VOID );
APIRET APIENTRY dartStop( VOID );
APIRET APIENTRY dartPause( VOID );
APIRET APIENTRY dartResume( VOID );
APIRET APIENTRY dartGetPos( VOID );
APIRET APIENTRY dartSetPos( ULONG ulNewPos );
APIRET APIENTRY dartError( APIRET rc );
APIRET APIENTRY dartSetSoundState( ULONG ulCh, BOOL fState );
APIRET APIENTRY dartSetVolume( ULONG ulCh, USHORT usVol );
APIRET APIENTRY dartGetVolume( VOID );
APIRET APIENTRY dartChNum( VOID );
APIRET APIENTRY dartClearBuffer( VOID );
APIRET APIENTRY OSLibGetAudioPDDName ( PSZ pszPDDName );

See also:


Please share information with other developers how to:

  • Q: How to compress sound to OGG Vorbis? There are problems with stack.
 
en/play_record_sound.1256408464.txt.gz · Last modified: 2009/10/24 17:21 (external edit)

 
Recent changes RSS feed
© 2001 - 2009 eCo Software, All rights reserved