siddec
siddec — Use libsidplay to decode SID audio tunes
|
|
Description
This element decodes .sid files to raw audio. .sid files are in fact
small Commodore 64 programs that are executed on an emulated 6502 CPU and a
MOS 6581 sound chip.
This plugin will first load the complete program into memory before starting
the emulator and producing output.
Seeking is not (and cannot be) implemented.
Example pipelines
Decode a sid file and play back the audio using alsasink.
Last reviewed on 2006-12-30 (0.10.5)
Synopsis
Element Information
plugin |
siddec
|
author |
Wim Taymans <wim.taymans@gmail.com> |
class |
Codec/Decoder/Audio |
Element Pads
name |
sink |
direction |
sink |
presence |
always |
details |
audio/x-sid |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-raw-int, endianness=(int)1234, signed=(boolean){ true, false }, width=(int){ 8, 16 }, depth=(int){ 8, 16 }, rate=(int)[ 8000, 48000 ], channels=(int)[ 1, 2 ] |
Details
GstSidDec
typedef struct {
GstElement element;
/* pads */
GstPad *sinkpad,
*srcpad;
guchar *tune_buffer;
gint tune_len;
gint tune_number;
guint64 total_bytes;
emuEngine *engine;
sidTune *tune;
emuConfig *config;
gulong blocksize;
} GstSidDec;
Property Details
The "blocksize"
property
"blocksize" gulong : Read / Write
Size in bytes to output per buffer.
Allowed values: >= 1
The "clock"
property
"clock" GstSidClock : Read / Write
clock.
Default value: PAL
The "filter"
property
"filter" gboolean : Read / Write
filter.
Default value: TRUE
The "force-speed"
property
"force-speed" gboolean : Read / Write
force_speed.
Default value: FALSE
The "measured-volume"
property
"measured-volume" gboolean : Read / Write
measured_volume.
Default value: TRUE
The "memory"
property
"memory" GstSidMemory : Read / Write
memory.
Default value: Bank Switching
The "metadata"
property
"metadata" GstCaps* : Read
Metadata.
The "mos8580"
property
"mos8580" gboolean : Read / Write
mos8580.
Default value: FALSE
The "tune"
property
"tune" gint : Read / Write
tune.
Allowed values: [0,100]
Default value: 0