[xiph-commits] r8787 -
trunk/oggdsf/src/lib/codecs/helper/libfishsound/src/libfishsound
illiminable at motherfish-iii.xiph.org
illiminable at motherfish-iii.xiph.org
Wed Jan 26 04:16:52 PST 2005
Author: illiminable
Date: 2005-01-26 04:16:48 -0800 (Wed, 26 Jan 2005)
New Revision: 8787
Modified:
trunk/oggdsf/src/lib/codecs/helper/libfishsound/src/libfishsound/fishsound.c
Log:
* Multi-part line endings
Modified: trunk/oggdsf/src/lib/codecs/helper/libfishsound/src/libfishsound/fishsound.c
===================================================================
--- trunk/oggdsf/src/lib/codecs/helper/libfishsound/src/libfishsound/fishsound.c 2005-01-26 12:16:07 UTC (rev 8786)
+++ trunk/oggdsf/src/lib/codecs/helper/libfishsound/src/libfishsound/fishsound.c 2005-01-26 12:16:48 UTC (rev 8787)
@@ -75,8 +75,13 @@
FishSound *
fish_sound_new (int mode, FishSoundInfo * fsinfo)
{
+
FishSound * fsound;
+ /* Zen's hackination for quality settings - PART C */
+ fs_vorbis_quality_setting_variable = 0.3;
+ /* End hackination */
+
if (!FS_DECODE && mode == FISH_SOUND_DECODE) return NULL;
if (!FS_ENCODE && mode == FISH_SOUND_ENCODE) return NULL;
@@ -245,6 +250,9 @@
return NULL;
}
+
+
+
int
fish_sound_command (FishSound * fsound, int command, void * data, int datasize)
{
@@ -263,6 +271,12 @@
case FISH_SOUND_SET_INTERLEAVE:
fsound->interleave = (*pi ? 1 : 0);
break;
+ /* Zen's hackination for quality settings - PART B */
+ case FISH_SOUND_VORBIS_SET_QUALITY:
+ fs_vorbis_quality_setting_variable = *((float*)(data));
+ break;
+ /* End hackination */
+
default:
if (fsound->codec && fsound->codec->command)
return fsound->codec->command (fsound, command, data, datasize);
More information about the commits
mailing list