Merge branch 'v0.19.x'
This commit is contained in:
		
							
								
								
									
										4
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								NEWS
									
									
									
									
									
								
							@@ -5,6 +5,10 @@ ver 0.20 (not yet released)
 | 
			
		||||
* output
 | 
			
		||||
  - pulse: set channel map to WAVE-EX
 | 
			
		||||
 | 
			
		||||
ver 0.19.5 (not yet released)
 | 
			
		||||
* decoder
 | 
			
		||||
  - dsdiff, dsf, opus: fix deadlock while seeking
 | 
			
		||||
 | 
			
		||||
ver 0.19.4 (2014/11/18)
 | 
			
		||||
* protocol
 | 
			
		||||
  - workaround for buggy clients that send "add /"
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,8 @@
 | 
			
		||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
          package="org.musicpd"
 | 
			
		||||
          android:installLocation="auto"
 | 
			
		||||
          android:versionCode="7"
 | 
			
		||||
          android:versionName="0.19.1">
 | 
			
		||||
          android:versionCode="8"
 | 
			
		||||
          android:versionName="0.19.4">
 | 
			
		||||
 | 
			
		||||
  <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17"/>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1533,6 +1533,7 @@ OK
 | 
			
		||||
              <command>count</command>
 | 
			
		||||
              <arg choice="req"><replaceable>TAG</replaceable></arg>
 | 
			
		||||
              <arg choice="req"><replaceable>NEEDLE</replaceable></arg>
 | 
			
		||||
              <arg choice="opt"><replaceable>...</replaceable></arg>
 | 
			
		||||
              <arg choice="opt">group</arg>
 | 
			
		||||
              <arg choice="opt"><replaceable>GROUPTYPE</replaceable></arg>
 | 
			
		||||
            </cmdsynopsis>
 | 
			
		||||
 
 | 
			
		||||
@@ -53,7 +53,7 @@ dsdlib_skip_to(Decoder *decoder, InputStream &is,
 | 
			
		||||
	       offset_type offset)
 | 
			
		||||
{
 | 
			
		||||
	if (is.IsSeekable())
 | 
			
		||||
		return is.Seek(offset, IgnoreError());
 | 
			
		||||
		return is.LockSeek(offset, IgnoreError());
 | 
			
		||||
 | 
			
		||||
	if (is.GetOffset() > offset)
 | 
			
		||||
		return false;
 | 
			
		||||
@@ -72,7 +72,7 @@ dsdlib_skip(Decoder *decoder, InputStream &is,
 | 
			
		||||
		return true;
 | 
			
		||||
 | 
			
		||||
	if (is.IsSeekable())
 | 
			
		||||
		return is.Seek(is.GetOffset() + delta, IgnoreError());
 | 
			
		||||
		return is.LockSeek(is.GetOffset() + delta, IgnoreError());
 | 
			
		||||
 | 
			
		||||
	if (delta > 1024 * 1024)
 | 
			
		||||
		/* don't skip more than one megabyte; it would be too
 | 
			
		||||
 
 | 
			
		||||
@@ -214,7 +214,7 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
 | 
			
		||||
	ogg_stream_clear(&os);
 | 
			
		||||
 | 
			
		||||
	/* restore the previous file position */
 | 
			
		||||
	is.Seek(old_offset, IgnoreError());
 | 
			
		||||
	is.LockSeek(old_offset, IgnoreError());
 | 
			
		||||
 | 
			
		||||
	return result;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -28,7 +28,7 @@
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef JAVA_FILE_HXX
 | 
			
		||||
#define JAVA_FILE_HPP
 | 
			
		||||
#define JAVA_FILE_HXX
 | 
			
		||||
 | 
			
		||||
#include "Object.hxx"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user