Changeset 455 for bmp-musepack/trunk/src/libmpc.h
- Timestamp:
- 11/07/09 20:03:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bmp-musepack/trunk/src/libmpc.h
r34 r455 2 2 * Copyright (c) 2005, The Musepack Development Team 3 3 * All rights reserved. 4 * 4 * 5 5 * Redistribution and use in source and binary forms, with or without 6 6 * modification, are permitted provided that the following conditions are 7 7 * met: 8 * 8 * 9 9 * * Redistributions of source code must retain the above copyright 10 10 * notice, this list of conditions and the following disclaimer. 11 * 11 * 12 12 * * Redistributions in binary form must reproduce the above 13 13 * copyright notice, this list of conditions and the following 14 14 * disclaimer in the documentation and/or other materials provided 15 15 * with the distribution. 16 * 16 * 17 17 * * Neither the name of the The Musepack Development Team nor the 18 18 * names of its contributors may be used to endorse or promote 19 19 * products derived from this software without specific prior 20 20 * written permission. 21 * 21 * 22 22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT … … 39 39 extern "C" 40 40 { 41 #include < bmp/plugin.h>42 #include < bmp/util.h>43 #include < bmp/configdb.h>44 #include < bmp/titlestring.h>41 #include <audacious/plugin.h> 42 #include <audacious/util.h> 43 #include <audacious/configdb.h> 44 #include <audacious/strings.h> 45 45 } 46 46 … … 54 54 55 55 //libmpcdec headers 56 #include <mpc dec/mpcdec.h>56 #include <mpc/mpcdec.h> 57 57 58 58 //GTK+ headers … … 160 160 static void lockRelease(); 161 161 static void* decodeStream(void*); 162 static int processBuffer(MPC_SAMPLE_FORMAT*, char*, mpc_de coder&);162 static int processBuffer(MPC_SAMPLE_FORMAT*, char*, mpc_demux&); 163 163 static void* endThread(char*, FILE*, bool); 164 164 static bool isAlive(); … … 167 167 static void setOffset(double); 168 168 static bool isPause(); 169 static void setReplaygain(mpc_ streaminfo&, mpc_decoder&);169 static void setReplaygain(mpc_demux *); 170 170 171 171 #ifdef MPC_FIXED_POINT … … 186 186 int clipMax = (1 << (pSize - 1)) - 1; 187 187 int floatScale = 1 << (pSize - 1); 188 for (unsigned n = 0; n < 2 *pLength; n++)188 for (unsigned n = 0; n < pLength; n++) 189 189 { 190 190 int val;
Note: See TracChangeset
for help on using the changeset viewer.