Revert "remove u1-fmt.c"

dev
xufulong 3 years ago
parent 0e4452bb7f
commit c77e638dc4
  1. 5
      app/src/main/cpp/sox/CmakeLists.txt
  2. 10
      app/src/main/cpp/sox/formats.h
  3. 21
      app/src/main/cpp/sox/u1-fmt.c
  4. 21
      app/src/main/cpp/sox/u2-fmt.c
  5. 21
      app/src/main/cpp/sox/u3-fmt.c
  6. 21
      app/src/main/cpp/sox/u4-fmt.c
  7. 21
      app/src/main/cpp/sox/ul-fmt.c

@ -110,6 +110,11 @@ set(formats_srcs
s3-fmt.c s3-fmt.c
s4-fmt.c s4-fmt.c
sox-fmt.c sox-fmt.c
u1-fmt.c
u2-fmt.c
u3-fmt.c
u4-fmt.c
ul-fmt.c
voc.c voc.c
vox.c vox.c
vox.h vox.h

@ -52,11 +52,11 @@
// FORMAT(sphere) // FORMAT(sphere)
// FORMAT(svx) // FORMAT(svx)
// FORMAT(txw) // FORMAT(txw)
// FORMAT(u1) FORMAT(u1)
// FORMAT(u2) FORMAT(u2)
// FORMAT(u3) FORMAT(u3)
// FORMAT(u4) FORMAT(u4)
// FORMAT(ul) FORMAT(ul)
FORMAT(voc) FORMAT(voc)
FORMAT(vox) FORMAT(vox)
FORMAT(wav) FORMAT(wav)

@ -0,0 +1,21 @@
/* libSoX file formats: raw (c) 2007-8 SoX contributors
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "sox_i.h"
#include "raw.h"
RAW_FORMAT4(u1, "u8", "ub", "sou", "fssd", 8, 0, UNSIGNED)

@ -0,0 +1,21 @@
/* libSoX file formats: raw (c) 2007-8 SoX contributors
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "sox_i.h"
#include "raw.h"
RAW_FORMAT2(u2, "u16", "uw", 16, 0, UNSIGNED)

@ -0,0 +1,21 @@
/* libSoX file formats: raw (c) 2007-8 SoX contributors
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "sox_i.h"
#include "raw.h"
RAW_FORMAT1(u3, "u24", 24, 0, UNSIGNED)

@ -0,0 +1,21 @@
/* libSoX file formats: raw (c) 2007-8 SoX contributors
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "sox_i.h"
#include "raw.h"
RAW_FORMAT1(u4, "u32", 32, 0, UNSIGNED)

@ -0,0 +1,21 @@
/* libSoX file formats: raw (c) 2007-8 SoX contributors
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "sox_i.h"
#include "raw.h"
RAW_FORMAT(ul, 8, 0, ULAW)
Loading…
Cancel
Save