/*****************************************************************************
* esd.c : EsounD module
*****************************************************************************
/*****************************************************************************
* esd.c : EsounD module
*****************************************************************************
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
set_shortname( "EsounD" );
set_capability( "audio output", 50 );
set_shortname( "EsounD" );
set_capability( "audio output", 50 );
- add_string( "esdserver", "", NULL, N_("Esound server"), NULL, VLC_FALSE );
+ add_string( "esdserver", "", NULL, N_("Esound server"), NULL, false );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AOUT );
set_callbacks( Open, Close );
set_category( CAT_AUDIO );
set_subcategory( SUBCAT_AUDIO_AOUT );
set_callbacks( Open, Close );
{
msg_Err( p_aout, "cannot open esound socket (format 0x%08x at %d Hz)",
p_sys->esd_format, p_aout->output.output.i_rate );
{
msg_Err( p_aout, "cannot open esound socket (format 0x%08x at %d Hz)",
p_sys->esd_format, p_aout->output.output.i_rate );
/* ESD latency is calculated for 44100 Hz. We don't have any way to get the
* number of buffered samples, so I assume ESD_BUF_SIZE/2 */
p_sys->latency +=
/* ESD latency is calculated for 44100 Hz. We don't have any way to get the
* number of buffered samples, so I assume ESD_BUF_SIZE/2 */
p_sys->latency +=
*****************************************************************************
* This function writes a buffer of i_length bytes in the socket
*****************************************************************************/
*****************************************************************************
* This function writes a buffer of i_length bytes in the socket
*****************************************************************************/