libtriple: add support for alternate sound devices to cAudio

This allows to use different audio devices (USB Audio for example)
with internet radio and audioplayer.
This commit is contained in:
Stefan Seyfried
2012-01-08 00:34:52 +01:00
parent 41a2f7a803
commit 7dbc580618
2 changed files with 98 additions and 5 deletions

View File

@@ -37,6 +37,8 @@ class cAudio
bool Muted;
int clipfd; /* for pcm playback */
int mixer_fd; /* if we are using the OSS mixer */
int mixer_num; /* oss mixer to use, if any */
AUDIO_FORMAT StreamType;
AUDIO_SYNC_MODE SyncMode;