Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioUnixfile.cc137 hdr_local = GetHeader(); in decode_filehdr()
156 setlength(GetHeader().Bytes_to_Time( in decode_filehdr()
161 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size))) in decode_filehdr()
199 hdr_local = GetHeader(); in encode_filehdr()
214 ohdr.data_size = (uint_t)GetHeader().Time_to_Bytes(GetLength()); in encode_filehdr()
344 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData()
384 if (GetHeader().Bytes_to_Bytes(cnt) != len) { in ReadData()
388 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData()
422 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in WriteData()
437 if (localByteOrder() != GetHeader().endian) in WriteData()
[all …]
H A DAudioBuffer.cc74 size = GetHeader().Time_to_Bytes(GetSize()); in alloc()
206 hfunc = (AudioHdr(AudioBuffer::*)() const)&AudioBuffer::GetHeader; in GetAddress()
335 offset = GetHeader().Time_to_Bytes(pos); in ReadData()
336 resid = GetHeader().Time_to_Bytes(GetLength()) - offset; in ReadData()
347 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in ReadData()
357 pos = GetHeader().Bytes_to_Time(offset + cnt); in ReadData()
400 offset = GetHeader().Time_to_Bytes(pos); in WriteData()
412 if (GetHeader().Bytes_to_Bytes(cnt) > 0) { in WriteData()
422 pos = GetHeader().Bytes_to_Time(offset + cnt); in WriteData()
450 local_length = pos + GetHeader().Bytes_to_Time(len); in AppendData()
[all …]
H A DAudioTypeSampleRate.cc88 inhdr = inbuf->GetHeader(); in Convert()
136 (int)inbuf->GetHeader().Time_to_Samples(inbuf->GetLength()), in Convert()
143 outbuf->GetHeader().Time_to_Samples(outbuf->GetSize()); in Convert()
149 if (nsamps > outbuf->GetHeader().Time_to_Samples(outbuf->GetSize())) { in Convert()
155 outbuf->SetLength(outbuf->GetHeader().Samples_to_Time(nsamps)); in Convert()
178 h = outbuf->GetHeader(); in Flush()
H A DAudioFile.cc393 if (GetHeader().Time_to_Bytes(GetLength()) != in Close()
402 (uint_t)GetHeader().Time_to_Bytes(GetLength()), 0, 0); in Close()
458 offset = GetHeader().Time_to_Bytes(pos); in ReadData()
471 if (GetHeader().Bytes_to_Bytes(cnt) == 0) { in ReadData()
482 pos = GetHeader().Bytes_to_Time(offset + len); in ReadData()
517 offset = GetHeader().Time_to_Bytes(pos); in seekread()
546 offset = GetHeader().Time_to_Bytes(pos); in seekwrite()
578 tohdr = to->GetHeader(); in AsyncCopy()
589 GetHeader().Time_to_Bytes(svfrom - frompos)) == 0)) { in AsyncCopy()
600 offset = (size_t)GetHeader().Time_to_Bytes(frompos); in AsyncCopy()
[all …]
H A DAudioRawPipe.cc59 err = GetHeader().Validate(); in Create()
95 err = GetHeader().Validate(); in Open()
106 setlength(GetHeader().Bytes_to_Time(st.st_size - offset)); in Open()
147 if ((err = seekread(GetHeader().Bytes_to_Time(val), setting)) in SetOffset()
H A DAudioGain.cc196 newhdr = inbuf->GetHeader(); in Process()
209 if (inbuf->GetHeader() != newhdr) { in Process()
246 inhdr = inbuf->GetHeader(); in process_dcfilter()
298 inhdr = inbuf->GetHeader(); in process_instant()
347 inhdr = inbuf->GetHeader(); in process_weighted()
H A DAudioExtent.cc146 GetHeader() in GetHeader() function in AudioExtent
153 GetHeader( in GetHeader() function in AudioExtent
197 buflen = GetHeader(pos).Time_to_Bytes((Double)(newpos - off)); in ReadData()
H A DAudioList.cc189 GetHeader() in GetHeader() function in AudioList
191 return (GetHeader(ReadPosition())); in GetHeader()
196 GetHeader( in GetHeader() function in AudioList
212 return (ep->aptr->GetHeader()); in GetHeader()
H A DAudioTypeMux.cc86 inhdr = inbuf->GetHeader(); // Demux multi-channel data in Convert()
90 inhdr = multibuf[0]->GetHeader(); in Convert()
H A DAudioTypeG72X.cc109 inhdr = inbuf->GetHeader(); in Convert()
255 h = outbuf->GetHeader(); in Flush()
H A DAudioPipe.cc52 err = GetHeader().Validate(); in Create()
H A DAudioTypeChannel.cc86 inhdr = inbuf->GetHeader(); in Convert()
H A DAudio.cc339 tohdr = to->GetHeader(); in AsyncCopy()
H A DAudioTypePcm.cc220 inhdr = inbuf->GetHeader(); in Convert()
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dmain.cc259 ohdr = ifp->GetHeader(); in main()
260 ohdr = ifp->GetHeader(); in main()
271 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main()
286 ohdr = ifp->GetHeader(); in main()
319 if (verify_conversion(ifp->GetHeader(), ohdr) == -1) { in main()
325 if (noop_conversion(ifp->GetHeader(), ohdr, in main()
345 if (!pflag && (verify_conversion(ifp->GetHeader(), ohdr) in main()
H A Dconvert.cc559 ihdr = ifp->GetHeader(); in build_conversion_list()
560 ohdr = ofp->GetHeader(); in build_conversion_list()
686 ihdr = ifp->GetHeader(); in do_convert()
687 ohdr = ofp->GetHeader(); in do_convert()
H A Dfile.cc63 len = (size_t)buf->GetHeader().Time_to_Bytes(buf->GetLength()); in write_output()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioExtent.h64 virtual AudioHdr GetHeader(); // Get header
65 virtual AudioHdr GetHeader(Double pos); // Get header at pos
H A DAudioList.h83 virtual AudioHdr GetHeader(); // Get header
84 virtual AudioHdr GetHeader(Double pos); // Get header at pos
H A DAudio_inline.h84 return (GetHeader()); in GetDHeader()
H A DAudioStream_inline.h45 GetHeader() in GetHeader() function
H A DAudioStream.h76 virtual AudioHdr GetHeader(); // Get header
H A DAudio.h134 virtual AudioHdr GetHeader() = 0; // Get header