modplug: Fix indention
This commit is contained in:
parent
f116cb0c19
commit
b648638401
@ -88,8 +88,7 @@ static GstStaticPadTemplate modplug_src_template_factory =
|
|||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS (
|
GST_STATIC_CAPS ("audio/x-raw-int,"
|
||||||
"audio/x-raw-int,"
|
|
||||||
" endianness = (int) BYTE_ORDER,"
|
" endianness = (int) BYTE_ORDER,"
|
||||||
" signed = (boolean) true,"
|
" signed = (boolean) true,"
|
||||||
" width = (int) 32,"
|
" width = (int) 32,"
|
||||||
@ -479,14 +478,15 @@ gst_modplug_load_song (GstModPlug * modplug)
|
|||||||
gst_structure_get_int (structure, "rate", &modplug->frequency);
|
gst_structure_get_int (structure, "rate", &modplug->frequency);
|
||||||
|
|
||||||
modplug->read_samples = 1152;
|
modplug->read_samples = 1152;
|
||||||
modplug->read_bytes = modplug->read_samples * modplug->channel * modplug->bits / 8;
|
modplug->read_bytes =
|
||||||
|
modplug->read_samples * modplug->channel * modplug->bits / 8;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (modplug, "Loading song");
|
GST_DEBUG_OBJECT (modplug, "Loading song");
|
||||||
|
|
||||||
modplug->mSoundFile = new CSoundFile;
|
modplug->mSoundFile = new CSoundFile;
|
||||||
|
|
||||||
modplug->mSoundFile->SetWaveConfig (modplug->frequency, modplug->bits,
|
modplug->mSoundFile->SetWaveConfig (modplug->frequency, modplug->bits,
|
||||||
modplug->channel);
|
modplug->channel);
|
||||||
|
|
||||||
modplug->mSoundFile->SetWaveConfigEx (modplug->surround, !modplug->oversamp,
|
modplug->mSoundFile->SetWaveConfigEx (modplug->surround, !modplug->oversamp,
|
||||||
modplug->reverb, true, modplug->megabass, modplug->noise_reduction, true);
|
modplug->reverb, true, modplug->megabass, modplug->noise_reduction, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user