|
Class: JackAudio (private in SoundStream
This class is only visible from within
SoundStream.
Object
|
+--Stream
|
+--PeekableStream
|
+--PositionableStream
|
+--WriteStream
|
+--ReadWriteStream
|
+--ExternalStream
|
+--FileStream
|
+--SoundStream
|
+--SoundStream::JackAudio
- Package:
- stx:libbasic2
- Category:
- Streams-External
- Owner:
- SoundStream
interface to the jack audio system
queries
-
defaultAudioFormat
-
-
isSupported
-
SoundStream::JackAudio isSupported
SoundStream::PortAudio isSupported
SoundStream::CoreAudio isSupported
open & close
-
closeFile
-
a stream has been collected - close the file
-
openWithMode: aMode attributes: attributeSpec
-
normally not reached
-
reopenStream
-
queries
-
supportedAudioFormats
-
return a collection of supported audio formats.
possibly returned symbols are:
U8 unsigned 8bit samples
S8 signed 8bit samples
U16 unsigned 16bit samples in native format
U16_LE unsigned 16bit big endian samples
U16_BE unsigned 16bit big endian samples
S16 signed 16bit little endian samples in native format
S16_LE signed 16bit little endian samples
S16_BE signed 16bit big endian samples
S24 signed 24bit little endian samples in native format
S24_LE signed 24bit little endian samples
S24_BE signed 24bit big endian samples
S32 signed 32bit little endian samples in native format
S32_LE signed 32bit little endian samples
S32_BE signed 32bit big endian samples
F16 float samples
F32 float samples
MPEG audio mpeg encoded
MU_LAW u-law encoded 8bit samples
A_LAW a-law encoded 8bit samples
IMA_ADPCM adpcm encoded
the set of returned symbols depends on the underlying sound hardware.
Usage example(s):
|s formats|
s := self writing.
formats := s supportedAudioFormats.
s close.
formats
|
|