former testimony, and that it was former testimony under section 1291, subdivision (a)(2), in that Navarrette’s refusal to testify made him unavailable as a witness.
At the conclusion of the trial the jury was instructed, at the request of the People, that the testimony given by a witness at a prior proceeding is to be considered in the same light and in accordance with the same rules which relate to testimony given by witnesses in court.
Defendants argue that it was error to admit Navarrette’s prior testimony because it was hearsay and not within any statutory exception. They argue that the witness was not “unavailable” to testify as required by section 240, subdivision (a), nor was the failure to testify the equivalent of a statement inconsistent with a prior statement so as to make section 1235 applicable. They assert that the error was prejudicial as Navarrette’s testimony was crucial to the prosecution’s case.
We think it is clear that the testimony was not admissible under section 1235. The statute provides: “Evidence of a statement made by a witness is not made inadmissible by the hearsay rule if the statement is inconsistent with his testimony at the hearing and is offered in compliance with Section 770.” (Italics added.) “ ‘The hearing’ means the hearing at which a question under this code arises, and not some earlier or later hearing.” '(§ 145.) Accordingly, whether Navarrette’s refusal to testify at all is in effect a “statement” inconsistent with earlier statements is irrelevant in view of the fact that Navarrette did not testify at the hearing at which the question of admissibility of the testimony arose.
The crucial question, then, is whether Navarrette’s testimony at the former trial is admissible pursuant to the provisions of section 1291 on the basis that he was unavailable as a witness. Subdivision (a) of section 1291, in relevant part, provides: “Evidence of former testimony is not made inadmissible by the hearsay rule if the declarant is unavailable as a witness. .. .”
We observe, preliminarily, that the use of depositions and former testimony does not infringe upon the constitutional right of confrontation as long as there has been due cross-examination. (People v. Foster (1967) 67 Cal.2d 604, 606 [63 Cal.Rptr. 288, 432 P.2d 976]; People v. Wallin (1950) 34 Cal.2d 777, 781 [215 P.2d 1]; People v. Valdez (1947) 82 Cal.App.2d 744, 749-750 [187 P.2d 74] [cert, den., 338 U.S. 835 (94 L.Ed. 510, 70 S.Ct. 42)]; 5 Wigmore on Evidence (3d ed.) §§ 1396, 1397, 1398,