liberty
[ class tree: liberty ] [ index: liberty ] [ all elements ]

Procedural File: mime.audio.php

Source Location: /liberty/plugins/mime.audio.php



Page Details:



Tags:

author:  xing <xing@synapse.plus.com>
version:  $Header$
version:  $Revision$ created Thursday May 08, 2008
filesource:  Source Code for this file







PLUGIN_MIME_GUID_AUDIO [line 22]

PLUGIN_MIME_GUID_AUDIO = 'mimeaudio'
This is the name of the plugin - max char length is 16

As a naming convention, the liberty mime handler definition should start with: PLUGIN_MIME_GUID_



[ Top ]




mime_audio_converter [line 183]

TRUE mime_audio_converter( &$pParamHash, array $pParamHash)

mime_audio_converter



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

array   $pParamHash  
   &$pParamHash  
[ Top ]



mime_audio_converter_ffmpeg [line 351]

TRUE mime_audio_converter_ffmpeg( &$pParamHash, array $pSource, array $pDest, array $pParamHash)

mime_audio_converter_ffmpeg



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

array   $pParamHash   file information
array   $pSource   source file
array   $pDest   destination file
   &$pParamHash  
[ Top ]



mime_audio_converter_mplayer_lame [line 300]

TRUE mime_audio_converter_mplayer_lame( &$pParamHash, array $pSource, array $pDest, array $pParamHash)

mime_audio_converter_mplayer_lame will decode the audio to wav using mplayer and then encode to mp3 using lame



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

array   $pParamHash   file information
array   $pSource   source file
array   $pDest   destination file
   &$pParamHash  
[ Top ]



mime_audio_load [line 156]

TRUE mime_audio_load( &$pFileHash, &$pPrefs, [array $pParams = NULL], array $pFileHash, array $pPrefs)

Load file data from the database



Tags:

return:  on success, FALSE on failure - ['errors'] will contain reason for failure
access:  public


Parameters

array   $pFileHash   Contains all file information
array   $pPrefs   Attachment preferences taken liberty_attachment_prefs
array   $pParams   Parameters for loading the plugin - e.g.: might contain values from the view page
   &$pFileHash  
   &$pPrefs  
[ Top ]



mime_audio_preload [line 64]

TRUE mime_audio_preload( )

mime_audio_preload This function is loaded on every page load before anything happens and is used to load required scripts.



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


[ Top ]



mime_audio_store [line 76]

TRUE mime_audio_store( &$pStoreRow, array $pStoreRow)

Store the data in the database



Tags:

return:  on success, FALSE on failure - $pStoreRow['errors'] will contain reason
access:  public


Parameters

array   $pStoreRow   File data needed to store details in the database - sanitised and generated in the verify function
   &$pStoreRow  
[ Top ]



mime_audio_update [line 99]

TRUE mime_audio_update( &$pStoreRow, [ $pParams = NULL], array $pStoreRow)

mime_audio_update



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

array   $pStoreRow  
   &$pStoreRow  
   $pParams  
[ Top ]



mime_audio_update_tags [line 400]

NULL mime_audio_update_tags( array $pFile, array $pMetaData)

mime_audio_update_tags will update the tags of a given audio file



Tags:

return:  on success, String of errors on failure
access:  public


Parameters

array   $pFile   absolute path to file
array   $pMetaData   Hash of data that should be passed to the file.
[ Top ]



Documentation generated on Wed, 29 Jul 2015 13:57:05 +0000 by phpDocumentor 1.5.0-lsces