Home
last modified time | relevance | path

Searched refs:GetLength (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc177 origlen = GetLength(); in createfile()
325 origlen = GetLength(); in tryopen()
390 if (GetAccess().Writeable() && (origlen != GetLength())) { in Close()
393 if (GetHeader().Time_to_Bytes(GetLength()) != in Close()
402 (uint_t)GetHeader().Time_to_Bytes(GetLength()), 0, 0); in Close()
534 if (GetAccess().Append() && (pos < GetLength())) in seekwrite()
538 if (pos > GetLength()) { in seekwrite()
539 seekwrite(GetLength(), offset); // seek to eof in seekwrite()
587 svfrom = GetLength(); in AsyncCopy()
H A DAudioList.cc144 length = ep->aptr->GetLength(); in getposition()
162 GetLength() const in GetLength() function in AudioList
171 x = ep->aptr->GetLength(); in GetLength()
269 pos += ep->aptr->GetLength() - off; in ReadData()
392 frompos += ep->aptr->GetLength() - off; in AsyncCopy()
H A DAudioUnixfile.cc161 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size))) in decode_filehdr()
211 if (Undefined(GetLength())) in encode_filehdr()
214 ohdr.data_size = (uint_t)GetHeader().Time_to_Bytes(GetLength()); in encode_filehdr()
337 if (pos >= GetLength()) { in ReadData()
466 if (!Undefined(GetLength()) && (pos > GetLength())) { in WriteData()
H A DAudioExtent.cc103 return (ref->GetLength()); in GetEnd()
115 len = ref->GetLength(); in SetEnd()
124 GetLength() const in GetLength() function in AudioExtent
H A DAudioTypeSampleRate.cc89 length = inbuf->GetLength(); in Convert()
136 (int)inbuf->GetHeader().Time_to_Samples(inbuf->GetLength()), in Convert()
191 pos = outbuf->GetLength(); in Flush()
H A DAudioGain.cc185 if (Undefined(inbuf->GetLength())) { in Process()
248 frames = (size_t)inhdr.Time_to_Samples(inbuf->GetLength()); in process_dcfilter()
300 frames = (size_t)inhdr.Time_to_Samples(inbuf->GetLength()); in process_instant()
349 frames = (size_t)inhdr.Time_to_Samples(inbuf->GetLength()); in process_weighted()
H A DAudioBuffer.cc250 if (buflen < GetLength()) in SetSize()
328 if (pos >= GetLength()) { in ReadData()
336 resid = GetHeader().Time_to_Bytes(GetLength()) - offset; in ReadData()
485 svfrom = GetLength(); in AsyncCopy()
H A DAudioTypeMux.cc87 length = inbuf->GetLength(); in Convert()
91 length = multibuf[0]->GetLength(); in Convert()
H A DAudioTypeG72X.cc110 length = inbuf->GetLength(); in Convert()
272 pos = outbuf->GetLength(); in Flush()
H A DAudio.cc161 if (!Undefined(GetLength())) in setpos()
162 newpos += GetLength(); in setpos()
H A DAudioTypeChannel.cc87 length = inbuf->GetLength(); in Convert()
H A DAudioTypePcm.cc221 length = inbuf->GetLength(); in Convert()
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dfile.cc62 pos = ofp->GetLength(); in write_output()
63 len = (size_t)buf->GetHeader().Time_to_Bytes(buf->GetLength()); in write_output()
H A Dconvert.cc827 if (obuf->GetLength() > 0.0) { in do_convert()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioStream_inline.h69 GetLength() const in GetLength() function
H A DAudioStream.h78 virtual Double GetLength() const; // Get length, in secs
H A DAudioExtent.h62 virtual Double GetLength() const; // Get length, in secs
H A DAudioList.h81 virtual Double GetLength() const; // Get length, in secs
H A DAudio.h136 virtual Double GetLength() const = 0; // Get length, in secs