Home
last modified time | relevance | path

Searched refs:GetHeader (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/cmd/audio/utilities/
H A DAudioUnixfile.cc139 hdr_local = GetHeader(); in decode_filehdr()
158 setlength(GetHeader().Bytes_to_Time( in decode_filehdr()
163 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size))) in decode_filehdr()
201 hdr_local = GetHeader(); in encode_filehdr()
216 ohdr.data_size = (uint_t)GetHeader().Time_to_Bytes(GetLength()); in encode_filehdr()
346 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData()
386 if (GetHeader().Bytes_to_Bytes(cnt) != len) { in ReadData()
390 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData()
424 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in WriteData()
439 if (localByteOrder() != GetHeader().endian) in WriteData()
[all …]
H A DAudioBuffer.cc76 size = GetHeader().Time_to_Bytes(GetSize()); in alloc()
208 hfunc = (AudioHdr(AudioBuffer::*)() const)&AudioBuffer::GetHeader; in GetAddress()
337 offset = GetHeader().Time_to_Bytes(pos); in ReadData()
338 resid = GetHeader().Time_to_Bytes(GetLength()) - offset; in ReadData()
349 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in ReadData()
359 pos = GetHeader().Bytes_to_Time(offset + cnt); in ReadData()
402 offset = GetHeader().Time_to_Bytes(pos); in WriteData()
414 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in WriteData()
424 pos = GetHeader().Bytes_to_Time(offset + cnt); in WriteData()
452 local_length = pos + GetHeader().Bytes_to_Time(len); in AppendData()
[all …]
H A DAudioTypeSampleRate.cc86 inhdr = inbuf->GetHeader(); in Convert()
133 (int)inbuf->GetHeader().Time_to_Samples(inbuf->GetLength()), in Convert()
139 outbuf->GetHeader().Time_to_Samples(outbuf->GetSize()); in Convert()
144 if (nsamps > outbuf->GetHeader().Time_to_Samples(outbuf->GetSize())) { in Convert()
150 outbuf->SetLength(outbuf->GetHeader().Samples_to_Time(nsamps)); in Convert()
173 h = outbuf->GetHeader(); in Flush()
H A DAudioRawPipe.cc61 err = GetHeader().Validate(); in Create()
97 err = GetHeader().Validate(); in Open()
108 setlength(GetHeader().Bytes_to_Time(st.st_size - offset)); in Open()
149 if ((err = seekread(GetHeader().Bytes_to_Time(val), setting)) in SetOffset()
H A DAudioFile.cc398 if (GetHeader().Time_to_Bytes(GetLength()) != in Close()
407 (uint_t)GetHeader().Time_to_Bytes(GetLength()), 0, 0); in Close()
463 offset = GetHeader().Time_to_Bytes(pos); in ReadData()
476 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData()
487 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData()
522 offset = GetHeader().Time_to_Bytes(pos); in seekread()
551 offset = GetHeader().Time_to_Bytes(pos); in seekwrite()
583 tohdr = to->GetHeader(); in AsyncCopy()
593 GetHeader().Time_to_Bytes(svfrom - frompos)) == 0)) { in AsyncCopy()
604 offset = (size_t)GetHeader().Time_to_Bytes(frompos); in AsyncCopy()
[all …]
H A DAudioGain.cc198 newhdr = inbuf->GetHeader(); in Process()
211 if (inbuf->GetHeader() != newhdr) { in Process()
248 inhdr = inbuf->GetHeader(); in process_dcfilter()
300 inhdr = inbuf->GetHeader(); in process_instant()
349 inhdr = inbuf->GetHeader(); in process_weighted()
H A DAudioExtent.cc148 GetHeader() in GetHeader() function in AudioExtent
155 GetHeader( in GetHeader() function in AudioExtent
199 buflen = GetHeader(pos).Time_to_Bytes((Double)(newpos - off)); in ReadData()
H A DAudioList.cc191 GetHeader() in GetHeader() function in AudioList
193 return (GetHeader(ReadPosition())); in GetHeader()
198 GetHeader( in GetHeader() function in AudioList
214 return (ep->aptr->GetHeader()); in GetHeader()
H A DAudioTypeMux.cc88 inhdr = inbuf->GetHeader(); // Demux multi-channel data in Convert()
92 inhdr = multibuf[0]->GetHeader(); in Convert()
H A DAudioTypeG72X.cc111 inhdr = inbuf->GetHeader(); in Convert()
256 h = outbuf->GetHeader(); in Flush()
H A DAudioPipe.cc54 err = GetHeader().Validate(); in Create()
H A DAudioTypeChannel.cc88 inhdr = inbuf->GetHeader(); in Convert()
H A DAudio.cc341 tohdr = to->GetHeader(); in AsyncCopy()
H A DAudioTypePcm.cc222 inhdr = inbuf->GetHeader(); in Convert()
/titanic_41/usr/src/cmd/audio/audioconvert/
H A Dmain.cc262 ohdr = ifp->GetHeader(); in main()
263 ohdr = ifp->GetHeader(); in main()
274 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main()
289 ohdr = ifp->GetHeader(); in main()
322 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main()
328 if (noop_conversion(ifp->GetHeader(), ohdr, in main()
348 if (!pflag && (verify_conversion(ifp->GetHeader(), ohdr) in main()
H A Dconvert.cc561 ihdr = ifp->GetHeader(); in build_conversion_list()
562 ohdr = ofp->GetHeader(); in build_conversion_list()
688 ihdr = ifp->GetHeader(); in do_convert()
689 ohdr = ofp->GetHeader(); in do_convert()
H A Dfile.cc65 len = (size_t)buf->GetHeader().Time_to_Bytes(buf->GetLength()); in write_output()
/titanic_41/usr/src/cmd/audio/include/
H A DAudioExtent.h66 virtual AudioHdr GetHeader(); // Get header
67 virtual AudioHdr GetHeader(Double pos); // Get header at pos
H A DAudioList.h85 virtual AudioHdr GetHeader(); // Get header
86 virtual AudioHdr GetHeader(Double pos); // Get header at pos
H A DAudio_inline.h86 return (GetHeader()); in GetDHeader()
H A DAudioStream_inline.h47 GetHeader() in GetHeader() function
H A DAudioStream.h78 virtual AudioHdr GetHeader(); // Get header
H A DAudio.h136 virtual AudioHdr GetHeader() = 0; // Get header