-void XineStream::set_audio_channel(unsigned i)
-{
- if(i>=audio_channels.size())
- throw out_of_range("XineStream::set_audio_channel");
-
- xine_set_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL, i);
-}
-
-void XineStream::set_audio_off()
-{
- xine_set_param(stream, XINE_PARAM_AUDIO_CHANNEL_LOGICAL, -2);
-}
-
-void XineStream::set_spu_channel(unsigned i)
-{
- if(i>=spu_channels.size())
- throw out_of_range("XineStream::set_spu_channel");
-
- xine_set_param(stream, XINE_PARAM_SPU_CHANNEL, i);
-}
-
-void XineStream::set_spu_off()
-{
- xine_set_param(stream, XINE_PARAM_SPU_CHANNEL, -2);
-}
-