diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:24 -0600 |
commit | 6e637ec10f4d608e38c6b685524640c0247eb1ce (patch) | |
tree | c4eb246265def9c4e09f1d7150fc73867c2ccf96 /flow/audioioaix.cc | |
parent | a5de6a933b04a721b6f814821b7242ef330c5684 (diff) | |
download | arts-6e637ec10f4d608e38c6b685524640c0247eb1ce.tar.gz arts-6e637ec10f4d608e38c6b685524640c0247eb1ce.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'flow/audioioaix.cc')
-rw-r--r-- | flow/audioioaix.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/flow/audioioaix.cc b/flow/audioioaix.cc index 2e77685..b5c288b 100644 --- a/flow/audioioaix.cc +++ b/flow/audioioaix.cc @@ -116,9 +116,9 @@ AudioIOAIX::AudioIOAIX() int fd = openDevice(); if( fd >= 0 ) { - audio_status audiotqStatus; - memset( &audiotqStatus, 0, sizeof(audio_status) ); - ioctl(fd, AUDIO_STATUS, &audiotqStatus); + audio_status audioStatus; + memset( &audioStatus, 0, sizeof(audio_status) ); + ioctl(fd, AUDIO_STATUS, &audioStatus); audio_buffer audioBuffer; memset( &audioBuffer, 0, sizeof(audio_buffer) ); @@ -129,14 +129,14 @@ AudioIOAIX::AudioIOAIX() /* * default parameters */ - param(samplingRate) = audiotqStatus.srate; - param(fragmentSize) = audiotqStatus.bsize; - param(fragmentCount) = audioBuffer.write_buf_cap / audiotqStatus.bsize; - param(channels) = audiotqStatus.channels; + param(samplingRate) = audioStatus.srate; + param(fragmentSize) = audioStatus.bsize; + param(fragmentCount) = audioBuffer.write_buf_cap / audioStatus.bsize; + param(channels) = audioStatus.channels; param(direction) = 2; - param(format) = ( audiotqStatus.bits_per_sample==8 ) ? 8 - : ( ( audiotqStatus.flags & AUDIO_BIG_ENDIAN ) ? 17 : 16 ); + param(format) = ( audioStatus.bits_per_sample==8 ) ? 8 + : ( ( audioStatus.flags & AUDIO_BIG_ENDIAN ) ? 17 : 16 ); } } |