diff libinterp/dldfcn/audiodevinfo.cc @ 29961:7d6709900da7

eliminate octave:: namespace tags in DEFUN and DEFMETHOD and more Files affected: __betainc__.cc, __contourc__.cc, __eigs__.cc, __expint__.cc, __ftp__.cc, __gammainc__.cc, __ichol__.cc, __ilu__.cc, __magick_read__.cc, __pchip_deriv__.cc, __qp__.cc, amd.cc, balance.cc, besselj.cc, bsxfun.cc, call-stack.cc, ccolamd.cc, cellfun.cc, chol.cc, colamd.cc, colloc.cc, conv2.cc, daspk.cc, dasrt.cc, dassl.cc, data.cc, defaults.cc, dirfns.cc, display.cc, dlmread.cc, dmperm.cc, dot.cc, eig.cc, ellipj.cc, environment.cc, error.cc, event-manager.cc, fft.cc, fft2.cc, fftn.cc, file-io.cc, find.cc, gcd.cc, getgrent.cc, getpwent.cc, getrusage.cc, gsvd.cc, hash.cc, help.cc, hess.cc, hex2num.cc, input.cc, inv.cc, jsondecode.cc, jsonencode.cc, load-path.cc, load-save.cc, lookup.cc, lsode.cc, lu.cc, max.cc, mgorth.cc, oct-hist.cc, ordqz.cc, ordschur.cc, pager.cc, pr-output.cc, psi.cc, qr.cc, quad.cc, quadcc.cc, qz.cc, rand.cc, regexp.cc, schur.cc, settings.cc, sighandlers.cc, sparse.cc, spparms.cc, sqrtm.cc, stream-euler.cc, strfind.cc, strfns.cc, sub2ind.cc, svd.cc, symbfact.cc, symtab.cc, syscalls.cc, sysdep.cc, time.cc, toplev.cc, tril.cc, typecast.cc, urlwrite.cc, utils.cc, variables.cc, __delaunayn__.cc, __fltk_uigetfile__.cc, __glpk__.cc, __init_gnuplot__.cc, __ode15__.cc, __voronoi__.cc, audiodevinfo.cc, audioread.cc, convhulln.cc, fftw.cc, gzip.cc, ov-cell.cc, ov-class.cc, ov-classdef.cc, ov-fcn-handle.cc, ov-struct.cc, ov-typeinfo.cc, ov-usr-fcn.cc, octave.cc, lex.ll, oct-parse.yy, profiler.cc, andpt-eval.cc.
author John W. Eaton <jwe@octave.org>
date Sat, 14 Aug 2021 22:48:52 -0400
parents 32c3a5805893
children 43d0785ca28f
line wrap: on
line diff
--- a/libinterp/dldfcn/audiodevinfo.cc	Sat Aug 14 21:50:26 2021 -0400
+++ b/libinterp/dldfcn/audiodevinfo.cc	Sat Aug 14 22:48:52 2021 -0400
@@ -599,8 +599,8 @@
     error ("audioplayer callback function called without player");
 
   octave_value_list retval
-    = octave::feval (player->octave_callback_function,
-                     ovl (static_cast<double> (frames)), 1);
+    = feval (player->octave_callback_function,
+             ovl (static_cast<double> (frames)), 1);
 
   if (retval.length () < 2)
     error ("audioplayer callback function failed");
@@ -657,7 +657,7 @@
       {
         static double scale_factor = std::pow (2.0, 23) - 1.0;
 
-        static int big_endian = octave::mach_info::words_big_endian ();
+        static int big_endian = mach_info::words_big_endian ();
 
         uint8_t *buffer = static_cast<uint8_t *> (output);
 
@@ -767,7 +767,7 @@
           {
             static double scale_factor = std::pow (2.0, 23) - 1.0;
 
-            static int big_endian = octave::mach_info::words_big_endian ();
+            static int big_endian = mach_info::words_big_endian ();
 
             uint8_t *buffer = static_cast<uint8_t *> (output);
 
@@ -1154,7 +1154,7 @@
   start = get_sample_number ();
   end = get_end_sample ();
 
-  octave::unwind_action stop_audioplayer ([=] () { stop (); });
+  unwind_action stop_audioplayer ([=] () { stop (); });
 
   for (unsigned int i = start; i < end; i += buffer_size)
     {
@@ -1436,7 +1436,7 @@
     }
 
   octave_value_list retval
-    = octave::feval (recorder->octave_callback_function, ovl (sound), 1);
+    = feval (recorder->octave_callback_function, ovl (sound), 1);
 
   return retval(0).int_value ();
 }
@@ -1826,7 +1826,7 @@
 
   unsigned int frames = seconds * get_fs ();
 
-  octave::unwind_action stop_audiorecorder ([=] () { stop (); });
+  unwind_action stop_audiorecorder ([=] () { stop (); });
 
   for (unsigned int i = 0; i < frames; i += buffer_size)
     {
@@ -1960,7 +1960,7 @@
 #if defined (HAVE_PORTAUDIO)
 
 static audiorecorder *
-get_recorder (octave::interpreter& interp, const octave_value& ov)
+get_recorder (interpreter& interp, const octave_value& ov)
 {
   interp.mlock ();
 
@@ -2407,7 +2407,7 @@
 #if defined (HAVE_PORTAUDIO)
 
 static audioplayer *
-get_player (octave::interpreter& interp, const octave_value& ov)
+get_player (interpreter& interp, const octave_value& ov)
 {
   interp.mlock ();