Music Gapless Playback (3 Viewers)

C

CypherMK

Guest
I tested with foobar and I get surround sound. But every file I play makes foobar crash after 2 seconds. :(

So, if I get surround sound here, why not in mediaportal?[DOUBLEPOST=1381872193][/DOUBLEPOST]I also tried it with winamp and WASAPI. In here it works flawless. Mediaportal issue or settings issue in mediaportal?
 
Last edited by a moderator:
C

CypherMK

Guest
It sounds real sweet, music coming from all channels! I'm gonna download some more :-P Let's hope I can get this working inside mediaportal.
 
C

CypherMK

Guest
If I set the wasapi settings to output to 2 speakers, the files play, but obviously in stereo mode. Any other setting gets me the issue. I really can't think of any other option to get this going. Unless mediaportal isn't capable of doing it.
 
C

CypherMK

Guest
I tested the files on my test pc. It only has 2 channels available, so it is not a reliable test. But when I set WASAPI mode to 5.1, it will play the files. So maybe I have to reinstall on my main HTPC.
 
C

CypherMK

Guest
@hwahrmann @Helios61

In my search of making multichannel playback work, I´ve tried the following. I also have a realtek onboard sound. When I select this, the music will start playing. But I don´t have the realtek connected. So I can´t really test if the sound is ok.
When I use my AMD 6570 as a soundcard (which is normally my default soundcard), the music doesn´t play. I created logs (attached) and I found this in the mediaportal.log:

[2013-10-17 21:30:51,533] [Log ] [MPMain ] [DEBUG] - BASS: 192000 4 BASS_WASAPI_FORMAT_24BIT
[2013-10-17 21:30:51,538] [Log ] [MPMain ] [DEBUG] - BASS: 192000 6 BASS_WASAPI_FORMAT_24BIT
[2013-10-17 21:30:51,544] [Log ] [MPMain ] [DEBUG] - BASS: 192000 8 BASS_WASAPI_FORMAT_24BIT
[2013-10-17 21:30:51,544] [Log ] [MPMain ] [INFO ] - BASS: ---------------------------------------------
[2013-10-17 21:30:51,544] [Log ] [MPMain ] [INFO ] - BASS: Initialization done.
[2013-10-17 21:30:51,545] [Log ] [MPMain ] [DEBUG] - PlayerFactory: Successfully created player instance for file - D:\Mp3\Seal-Best-1991-2004 (FLAC 6CH)\01-Crazy - (remix).flac
[2013-10-17 21:30:51,547] [Log ] [MiniDisplay] [INFO ] - (IDisplay) iMONLCDg.Setup(): RC TEST returned DRVR: 0x1, FW: 0x3801 (HW: 0x1b), RC_HW: 0x8, RF: 0x0
[2013-10-17 21:30:51,547] [Log ] [MiniDisplay] [INFO ] - (IDisplay) iMONLCDg.Setup(): Closing SG_RC.dll
[2013-10-17 21:30:51,553] [Log ] [MPMain ] [INFO ] - BASS: ---------------------------------------------
[2013-10-17 21:30:51,553] [Log ] [MPMain ] [INFO ] - BASS: Creating BASS audio stream
[2013-10-17 21:30:51,572] [Log ] [MPMain ] [INFO ] - BASS: Stream Information
[2013-10-17 21:30:51,572] [Log ] [MPMain ] [INFO ] - BASS: ---------------------------------------------
[2013-10-17 21:30:51,572] [Log ] [MPMain ] [INFO ] - BASS: File: D:\Mp3\Seal-Best-1991-2004 (FLAC 6CH)\01-Crazy - (remix).flac
[2013-10-17 21:30:51,572] [Log ] [MPMain ] [DEBUG] - BASS: Type of Stream: BASS_CTYPE_STREAM_FLAC
[2013-10-17 21:30:51,572] [Log ] [MPMain ] [INFO ] - BASS: Number of Channels: 6
[2013-10-17 21:30:51,572] [Log ] [MPMain ] [INFO ] - BASS: Stream Samplerate: 88200
[2013-10-17 21:30:51,573] [Log ] [MPMain ] [DEBUG] - BASS: Stream Flags: BASS_MUSIC_FLOAT, BASS_STREAM_DECODE, BASS_UNICODE
[2013-10-17 21:30:51,573] [Log ] [MPMain ] [INFO ] - BASS: ---------------------------------------------
[2013-10-17 21:30:51,573] [Log ] [MPMain ] [DEBUG] - BASS: Registering stream playback events
[2013-10-17 21:30:51,579] [Log ] [MPMain ] [DEBUG] - BASS: No Replay Gain Information found in stream tags
[2013-10-17 21:30:51,579] [Log ] [MPMain ] [INFO ] - BASS: Successfully created BASS audio stream
[2013-10-17 21:30:51,579] [Log ] [MPMain ] [INFO ] - BASS: ---------------------------------------------
[2013-10-17 21:30:51,584] [Log ] [MPMain ] [DEBUG] - BASS: ---------------------------------------------
[2013-10-17 21:30:51,584] [Log ] [MPMain ] [DEBUG] - BASS: Creating BASS mixer stream
[2013-10-17 21:30:51,585] [Log ] [MPMain ] [DEBUG] - BASS: Creating 6 channel mixer with sample rate of 88200
[2013-10-17 21:30:51,585] [Log ] [MPMain ] [INFO ] - BASS: Initialising WASAPI device
[2013-10-17 21:30:51,587] [Log ] [MPMain ] [DEBUG] - BASS: Try to init WASAPI with a Frequency of 88200 and 6 channels
[2013-10-17 21:30:51,599] [Error ] [MPMain ] [ERROR] - BASS: Couldn't init WASAPI device. Error: BASS_ERROR_UNKNOWN
[2013-10-17 21:30:51,601] [Error ] [MPMain ] [ERROR] - BASS: Could not create Mixer. Aborting playback.

[2013-10-17 21:30:51,602] [Log ] [MPMain ] [INFO ] - g_Player: ended
[2013-10-17 21:30:51,603] [Error ] [MPMain ] [ERROR] - PlaylistPlayer: *** unable to play - D:\Mp3\Seal-Best-1991-2004 (FLAC 6CH)\01-Crazy - (remix).flac - skipping track!
[2013-10-17 21:30:51,606] [Log ] [BASS Stop] [DEBUG] - BASS: Stop of stream D:\Mp3\Seal-Best-1991-2004 (FLAC 6CH)\01-Crazy - (remix).flac.
[2013-10-17 21:30:51,607] [Log ] [BASS Stop] [DEBUG] - BASS: Disposing Music Stream D:\Mp3\Seal-Best-1991-2004 (FLAC 6CH)\01-Crazy - (remix).flac
[2013-10-17 21:30:51,608] [Log ] [BASS Stop] [DEBUG] - BASS: Disposing Mixer Stream

So what does this mean? Can someone help getting this to work?
 

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    THe same issue had Helios.
    It is a problem with the buffer of your device.
    Try setting it to 0 ms.

    You probably will experience the hickups, but the device should select the buffer on it's own.
     
    C

    CypherMK

    Guest
    I did a real quick test this morning. Set the buffer to 0.10 (couldn't go any lower) and now it worked! It also worked with 0.26 seconds and not with 0.50 seconds. Strangely the last time I did that it didn't work. So in gonna test again this evening.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    I will report that to the BASS People.
    Unfortunately there's nothing that i can do from the programming side. This is in the BASS WASAPI code.
     
    C

    CypherMK

    Guest
    I will report that to the BASS People.
    Unfortunately there's nothing that i can do from the programming side. This is in the BASS WASAPI code.

    Ok. I will report this evening what my maximum buffer size is and I hope to report that everything works!
     

    Users who are viewing this thread

    Top Bottom