diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-08-26 21:18:32 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-08-26 21:18:32 +0000 |
commit | 52a53032fe9bf2c331d6a5923d37c385f3b31464 (patch) | |
tree | 6a155a83f3722a1d3ed40b01d3e0310d3ce219ed /include | |
parent | 10677ef1e21c0429e2850d81b904dcc209ef0f19 (diff) | |
download | xine-lib-52a53032fe9bf2c331d6a5923d37c385f3b31464.tar.gz xine-lib-52a53032fe9bf2c331d6a5923d37c385f3b31464.tar.bz2 |
add a mechanism to force closing audio device without stoping stream.
this is useful for (1) pausing the playback, (2) let another
application use the sound card, and then (3) unpause it again.
also add new "format" field to audio buffer (just like we have
for frames)
CVS patchset: 5312
CVS date: 2003/08/26 21:18:32
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index 35c27210a..b88e73b20 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.92 2003/08/05 15:05:51 mroi Exp $ + * $Id: xine.h.in,v 1.93 2003/08/26 21:18:32 miguelfreitas Exp $ * * public xine-lib (libxine) interface and documentation * @@ -319,6 +319,7 @@ int xine_get_param (xine_stream_t *stream, int param); #define XINE_PARAM_EQ_4000HZ 25 /* equalizer gains -100..100 */ #define XINE_PARAM_EQ_8000HZ 26 /* equalizer gains -100..100 */ #define XINE_PARAM_EQ_16000HZ 27 /* equalizer gains -100..100 */ +#define XINE_PARAM_AUDIO_CLOSE_DEVICE 28 /* force closing audio device */ /* speed values */ #define XINE_SPEED_PAUSE 0 |