summaryrefslogtreecommitdiffstats
path: root/kscd/libwm/plat_linux_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/libwm/plat_linux_audio.c')
-rw-r--r--kscd/libwm/plat_linux_audio.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/kscd/libwm/plat_linux_audio.c b/kscd/libwm/plat_linux_audio.c
index e5608adf..690a36e5 100644
--- a/kscd/libwm/plat_linux_audio.c
+++ b/kscd/libwm/plat_linux_audio.c
@@ -57,13 +57,13 @@ static char plat_linux_audio_id[] = "$Id$";
* a marker into the audio stream; when the audio device driver encounters the
* marker, it increments a field in a status structure. When we see that
* field go up, we grab the next status structure from the queue and send it
- * to the parent process.
+ * to the tqparent process.
*
* The minimum size of the queue depends on the latency of the audio stream.
*/
-#define QSIZE 500
+#define TQSIZE 500
-struct cdda_block queue[QSIZE];
+struct cdda_block queue[TQSIZE];
int qtail;
int qstart;
@@ -200,7 +200,7 @@ wmaudio_ready( void )
* Start at the correct queue position.
*/
if (ioctl(aucfd, AUDIO_GETINFO, &info) < 0) perror("AUDIO_GETINFO");
- qtail = info.play.eof % QSIZE;
+ qtail = info.play.eof % TQSIZE;
qstart = qtail;
queue[qtail].status = WMCDDA_OK;
@@ -275,11 +275,11 @@ wmaudio_send_status( void )
int qhead;
/*
- * Now send the most current status information to our parent.
+ * Now send the most current status information to our tqparent.
*/
if (ioctl(aucfd, AUDIO_GETINFO, &info) < 0)
perror("AUDIO_GETINFO");
- qhead = info.play.eof % QSIZE;
+ qhead = info.play.eof % TQSIZE;
if (qhead != qstart && playing)
{
@@ -357,7 +357,7 @@ wmaudio_play(unsigned char *rawbuf, long buflen, struct cdda_block *blk)
perror("audio mark");
}
else
- qtail = (qtail + 1) % QSIZE;
+ qtail = (qtail + 1) % TQSIZE;
fcntl(aufd, F_SETFL, 0);