Ignore:
Timestamp:
11/07/09 20:03:01 (15 years ago)
Author:
r2d
Message:

changes for audacious (don't know if it works, old changes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bmp-musepack/trunk/src/libmpc.h

    r34 r455  
    22 * Copyright (c) 2005, The Musepack Development Team
    33 * All rights reserved.
    4  * 
     4 *
    55 * Redistribution and use in source and binary forms, with or without
    66 * modification, are permitted provided that the following conditions are
    77 * met:
    8  * 
     8 *
    99 *     * Redistributions of source code must retain the above copyright
    1010 *       notice, this list of conditions and the following disclaimer.
    11  * 
     11 *
    1212 *     * Redistributions in binary form must reproduce the above
    1313 *       copyright notice, this list of conditions and the following
    1414 *       disclaimer in the documentation and/or other materials provided
    1515 *       with the distribution.
    16  * 
     16 *
    1717 *     * Neither the name of the The Musepack Development Team nor the
    1818 *       names of its contributors may be used to endorse or promote
    1919 *       products derived from this software without specific prior
    2020 *       written permission.
    21  * 
     21 *
    2222 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    2323 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     
    3939extern "C"
    4040{
    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>
    4545}
    4646
     
    5454
    5555//libmpcdec headers
    56 #include <mpcdec/mpcdec.h>
     56#include <mpc/mpcdec.h>
    5757
    5858//GTK+ headers
     
    160160static void       lockRelease();
    161161static void*      decodeStream(void*);
    162 static int        processBuffer(MPC_SAMPLE_FORMAT*, char*, mpc_decoder&);
     162static int        processBuffer(MPC_SAMPLE_FORMAT*, char*, mpc_demux&);
    163163static void*      endThread(char*, FILE*, bool);
    164164static bool       isAlive();
     
    167167static void       setOffset(double);
    168168static bool       isPause();
    169 static void       setReplaygain(mpc_streaminfo&, mpc_decoder&);
     169static void       setReplaygain(mpc_demux *);
    170170
    171171#ifdef MPC_FIXED_POINT
     
    186186    int clipMax    = (1 << (pSize - 1)) - 1;
    187187    int floatScale =  1 << (pSize - 1);
    188     for (unsigned n = 0; n < 2 * pLength; n++)
     188    for (unsigned n = 0; n < pLength; n++)
    189189    {
    190190        int val;
Note: See TracChangeset for help on using the changeset viewer.