The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Audio::BASSXS - Interface for the BASS Audio library (Win32 only)

SYNOPSIS

  use Audio::BASSXS;
  blah blah blah

DESCRIPTION

This is an XS wrapper for the BASS audio library. Not all functions are wrapped yet, all constants are. The functions that are wrapped can be found below.

There's one function available that is not part of the BASS library: BASS_ErrorString. This function takes a BASS_ErorGetCode value, and returns the appropiate errorstring.

Unless I provide information on a function, you can call every function like described in the Helpfile distributed with the BASS library.

USAGE

Only in this Perl module

BASS_ErrorString(code)

This function takes an errorcode like BASS_ErrorGetCode provides and returns a string describing that error.

Config

BASS_SetConfig

see BASS documentation

BASS_GetConfig

see BASS documentation

Initialization, info, etc

BASS_Init

see BASS documentation

BASS_Start

see BASS documentation

BASS_Stop

see BASS documentation

BASS_Pause

see BASS documentation

BASS_ErrorGetCode

see BASS documentation and BASS_ErrorString

BASS_GetVersion

see BASS documentation

BASS_GetDeviceDescription

see BASS documentation

BASS_SetDevice

see BASS documentation

BASS_GetDevice

see BASS documentation

BASS_Free

see BASS documentation

BASS_GetDSoundObject

see BASS documentation

BASS_GetInfo

This function doesn't take any parameters and returns a hashref wit the following keys: size flags hwsize hwfree freesam free3d minrate maxrate eax minbuf dsver latency initflags speakers driver See the BASS documentation on the BASS_INFO structure for more information.

BASS_Update

see BASS documentation

BASS_GetCPU

see BASS documentation

BASS_SetVolume

see BASS documentation

BASS_GetVolume

Streams

BASS_StreamCreate

see BASS documentation

BASS_StreamCreateFile

see BASS documentation

BASS_StreamPlay

see BASS documentation

BASS_StreamCreateURL

see BASS documentation

BASS_StreamCreateFileUser

see BASS documentation

BASS_StreamFree

see BASS documentation

BASS_StreamGetLength

see BASS documentation

BASS_StreamGetTags

see BASS documentation

BASS_StreamPreBuf

see BASS documentation

BASS_StreamGetFilePosition

SEE ALSO

BASS documentation, available in Microsoft Help format at http://www.un4seen.com/bass.html

AUTHOR

Jouke Visser, <jouke@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2004 by Jouke Visser

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself,.