view stream/udp.h @ 26312:43fe46da690b

AUDIO_DRAIN makes no sense directly after opening the device, but it should be done in uninit.
author reimar
date Mon, 07 Apr 2008 17:32:44 +0000
parents 7ee4ae1648e6
children a26e50cae389
line wrap: on
line source

/*
 *  Copyright (C) 2006 Benjamin Zores
 *   Network helpers for UDP connections (originally borrowed from rtp.c).
 *
 *   This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *   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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef MPLAYER_UDP_H
#define MPLAYER_UDP_H

#include "url.h"

int udp_open_socket (URL_t *url);

#endif /* MPLAYER_UDP_H */