IPB

Welcome Guest ( Log In | Register )

foo_spdif - SPDIF support for foobar, SPDIF passthrough support for foobar2000
Grzesio
post Apr 26 2007, 21:50
Post #1





Group: Members
Posts: 30
Joined: 25-April 07
Member No.: 42860



Hi everyone!

Is anybody interested in SPDIF passthrough for AC3/DTS?

Here it is foo_spdif page

This post has been edited by Grzesio: Apr 26 2007, 21:52
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Erik Garci
post May 1 2007, 06:03
Post #2





Group: Members
Posts: 10
Joined: 30-April 07
Member No.: 43057



I tried v0.2, and 44.1kHz .AC3 files have no problem now. Thanks for correcting it.

However, 48kHz .AC3 files still have the same problem as before. I will try to explain it in more detail. The problem happens when you use any of the following methods to start playing the .AC3 file:

1. Press the Play button.
2. Double-click it in the playlist.
3. Press the Next button.
4. Press the Previous button.

In addition, the behavior depends on whether the sound card is set to 44.1kHz or 48kHz before you start playing it.

If the sound card is set to 44.1kHz before you start playing it, then foobar2000 sets the card to 48kHz, which is the correct sampling rate. However, the progress slider and the elapsed time in the status bar will get stuck after 1 second. foobar2000 continues to play the file anyway. When the end of the file is reached, foobar2000 will not automatically play the next file in the playlist. It just stops completely.

Or, if the sound card is set to 48kHz before you start playing it, then foobar2000 sets the card to 44.1kHz, which is the incorrect sampling rate. However, there is an easy way to work around this situation. While it is playing, you can simply press Pause twice (or press Pause and then Play), which causes foobar2000 to set the card to 48kHz, which is the correct sampling rate. In this case, the progress slider and the elapsed time in the status bar will not get stuck. foobar2000 will automatically play the remaining files in the playlist as well, and it will play them with no problems.

I figured out that the best way to start playing a 48kHz .AC3 file is to perform these three steps:
1. Start playing it.
2. If it is playing at 48kHz, then start playing it again, so it is playing at 44.1kHz now, even though it is incorrect.
3. Press Pause twice, so it is playing at 48kHz now, which is correct.

By the way, I also tried playing MPEG Audio files by renaming them to .SPDIF. It seems that foobar2000 is sending audio to the sound card at the correct sampling rate, but the external decoders do not seem to be receiving or recognizing the audio.
Go to the top of the page
+Quote Post
Grzesio
post May 1 2007, 06:56
Post #3





Group: Members
Posts: 30
Joined: 25-April 07
Member No.: 42860



Ops, that is very very odd what you have discovered ohmy.gif
Thanks for detailed explanation of the problem. I will try to do something about it.
To be shure, does it mean that if you don't click anything (just let the playlist play itself continously) then everything is ok?
Does the problem become only when you are changing from one playing track to another or is it present also when you are starting to play from silence (stopped state)? Could you test it again with output plugin set to null renderer?
And also I would like to know if the <FORCED!> tag is visible at any time in the status bar.

About mpeg audio, does it mean that your receiver is capable of decoding mpeg audio? Because mine simply is not sad.gif

This post has been edited by Grzesio: May 1 2007, 12:48
Go to the top of the page
+Quote Post
Erik Garci
post May 2 2007, 04:57
Post #4





Group: Members
Posts: 10
Joined: 30-April 07
Member No.: 43057



QUOTE (Grzesio @ May 1 2007, 00:56) *
Could you test it again with output plugin set to null renderer?

I tested Null Output. The progress slider and elapsed time never get stuck, and it seems to be playing at the correct sampling rate, or at least the total elapsed time seems to be accurate.
Go to the top of the page
+Quote Post
Grzesio
post May 2 2007, 12:44
Post #5





Group: Members
Posts: 30
Joined: 25-April 07
Member No.: 42860



So it looks like some kind of incompatibility with your asio output but I have also found some weak points in the source code that may cause your problem. I going to rewrite part of the plugin but unfortunately it may take a little longer.

This post has been edited by Grzesio: May 2 2007, 12:46
Go to the top of the page
+Quote Post

Posts in this topic
- Grzesio   foo_spdif - SPDIF support for foobar   Apr 26 2007, 21:50
- - marlonqpa   cool plugin, but it play my dts files to fast. i t...   Apr 26 2007, 22:54
|- - Grzesio   Yes, well it's probably because your files are...   Apr 26 2007, 23:41
- - Mangix   foobar2000 has a DSP called Resampler which should...   Apr 26 2007, 23:44
|- - willardjuice   I guess this doesn't work for Vista x64? All ...   Apr 27 2007, 00:10
|- - Grzesio   QUOTE (willardjuice @ Apr 27 2007, 00:10)...   Apr 27 2007, 00:20
|- - willardjuice   QUOTE (willardjuice @ Apr 26 2007, 19:10)...   May 21 2007, 00:55
- - cyRq   If you wanna play *.ac3 and *.dts files, you must ...   Apr 27 2007, 10:29
- - Rozzo   Didn't work here. I tried with a clean instal...   Apr 27 2007, 13:33
- - Rozzo   Hi, this kind of plugin is all that I need for ha...   Apr 27 2007, 18:34
|- - Grzesio   QUOTE (Rozzo @ Apr 27 2007, 18:34) Hi, t...   Apr 29 2007, 20:24
- - Grzesio   new release: foo_spdif_v0.2 v0.2: - fixed horribl...   Apr 30 2007, 13:31
- - Erik Garci   Grzesio, Thank you very much for creating this pl...   Apr 30 2007, 16:42
|- - Grzesio   QUOTE (Erik Garci @ Apr 30 2007, 16:42) G...   Apr 30 2007, 19:04
- - Rozzo   Hi, thanks for your work. I don't know if I...   Apr 30 2007, 18:16
|- - Grzesio   QUOTE (Rozzo @ Apr 30 2007, 18:16) When I...   May 6 2007, 12:58
- - Erik Garci   I tried v0.2, and 44.1kHz .AC3 files have no probl...   May 1 2007, 06:03
|- - Grzesio   Ops, that is very very odd what you have discovere...   May 1 2007, 06:56
|- - Erik Garci   QUOTE (Grzesio @ May 1 2007, 00:56) Ops, ...   May 1 2007, 15:02
|- - Erik Garci   QUOTE (Grzesio @ May 1 2007, 00:56) Could...   May 2 2007, 04:57
|- - Grzesio   So it looks like some kind of incompatibility with...   May 2 2007, 12:44
- - Erik Garci   To be more specific, the problem happens when I pl...   May 3 2007, 06:28
- - Erik Garci   I also tested 48kHz DTS files. Same problem. 44....   May 4 2007, 16:08
|- - Grzesio   I hope foo_spdif_v0.3 will help on that.   May 5 2007, 18:01
|- - dDaYb   foobar 0.9.4f + foo_spdif_v0.3 + foo_input_dts 0.1...   May 6 2007, 11:30
|- - Erik Garci   QUOTE (Grzesio @ May 5 2007, 12:01) I hop...   May 6 2007, 16:05
|- - Grzesio   QUOTE (Erik Garci @ May 6 2007, 16:05) By...   May 6 2007, 20:12
- - Dither   Works fine for me but just until it meets with loc...   May 14 2007, 08:28
|- - Grzesio   QUOTE (Dither @ May 14 2007, 08:28) Works...   May 21 2007, 15:53
- - Rozzo   Hi Grzesio, happiness here, plugin started to wor...   May 14 2007, 22:00
- - redmodel   Thanks for the plugin it's something i've ...   May 16 2007, 00:05
- - mmorselli   May I play multi channel WavePack file with this p...   May 16 2007, 21:32
|- - Grzesio   QUOTE (mmorselli @ May 16 2007, 21:32) Ma...   May 21 2007, 16:22
- - aurelio   Hi Grzesio, I get this error: QUOTE Unable to open...   Jun 1 2007, 00:23
|- - SBeaver   QUOTE (aurelio @ May 31 2007, 15:23) Hi G...   Jun 1 2007, 12:36
|- - ociec   QUOTE (aurelio @ May 31 2007, 17:23) My a...   Jun 2 2007, 12:46
|- - Grzesio   QUOTE (ociec @ Jun 2 2007, 12:46) I have...   Jun 3 2007, 22:01
|- - ociec   QUOTE (Grzesio @ Jun 3 2007, 15:01) What ...   Jun 4 2007, 21:21
|- - Grzesio   QUOTE (ociec @ Jun 4 2007, 21:21) QUOTE (...   Jun 5 2007, 15:03
- - Grzesio   latest stablest version: foo_spdif_v1.0   Jun 5 2007, 17:07
|- - yhloh   QUOTE (Grzesio @ Jun 6 2007, 00:07) lates...   Jun 30 2007, 04:33
- - NullString   Thanks for the component! Although, when I sen...   Jun 29 2007, 22:00
|- - Grzesio   QUOTE (NullString @ Jun 29 2007, 22:00) T...   Jul 4 2007, 12:49
|- - NullString   QUOTE (Grzesio @ Jul 4 2007, 07:49) I thi...   Jul 5 2007, 04:53
- - Rozzo   Hi Grezsio, after some time of using the plugin I...   Jul 4 2007, 17:41
|- - Grzesio   QUOTE (Rozzo @ Jul 4 2007, 17:41) after s...   Jul 12 2007, 19:44
- - darkj2k   Cannot connect to d/l page too by IE7 & Firefo...   Jul 9 2007, 15:21
|- - yhloh   QUOTE (darkj2k @ Jul 9 2007, 22:21) Canno...   Jul 14 2007, 05:27
|- - Grzesio   QUOTE (yhloh @ Jul 14 2007, 05:27) QUOTE ...   Jul 16 2007, 10:42
|- - yhloh   I forgot to use proxy server in Poland. 87.239.177...   Jul 17 2007, 00:49
- - mlanglois   Thanks for this GREAT plugin! Unfortunately th...   Jul 10 2007, 14:37
|- - Grzesio   QUOTE (mlanglois @ Jul 10 2007, 14:37) Th...   Jul 12 2007, 20:11
- - gogo   Thanks for this nice plugin. Passing DTS streams v...   Jul 28 2007, 13:30
|- - Grzesio   QUOTE (gogo @ Jul 28 2007, 13:30) Thanks ...   Aug 3 2007, 00:59
|- - isamu   QUOTE (Grzesio @ Aug 2 2007, 23:59) I wil...   Aug 14 2007, 11:49
|- - Grzesio   QUOTE (isamu @ Aug 14 2007, 11:49) I woul...   Aug 14 2007, 20:33
- - Grzesio   Release v1.1 is available. Now you can choose bet...   Aug 22 2007, 12:29
|- - isamu   QUOTE (Grzesio @ Aug 22 2007, 04:29) Rele...   Aug 22 2007, 14:27
|- - Grzesio   QUOTE (isamu @ Aug 22 2007, 14:27) Grzesi...   Aug 22 2007, 18:10
- - Grzesio   Release v1.2 is available.   Aug 23 2007, 15:32
- - yhloh   proxy server for those who live in taiwan 195.116....   Aug 24 2007, 05:10
- - Grzesio   What a rush, v1.3 released   Aug 24 2007, 11:59
- - ontherocks   I tried to use your plugin with Foobar v0.9.4.3 ...   Aug 24 2007, 16:46
|- - Grzesio   QUOTE (ontherocks @ Aug 24 2007, 16:46) I...   Aug 24 2007, 21:44
|- - VinVen   QUOTE (Grzesio @ Aug 24 2007, 15:44) QUOT...   Jul 12 2008, 01:23
|- - VinVen   QUOTE (VinVen @ Jul 11 2008, 19:23) QUOTE...   Jul 12 2008, 13:20
- - ontherocks   Yes I tried that. Uninstalled foobar, the director...   Aug 25 2007, 00:52
- - David Nordin   Is there no way to get RAW or PCM output? For exam...   Nov 2 2007, 16:24
- - chmv   First, many thank for plugin!!! But I...   Dec 6 2007, 10:27
|- - Grzesio   QUOTE (chmv @ Dec 6 2007, 10:27) But I an...   Dec 18 2007, 12:31
- - Grzesio   Sorry for my absence but I am very busy lately Q...   Dec 15 2007, 16:34
|- - tommypeters   QUOTE (Grzesio @ Dec 15 2007, 17:34) Sorr...   Feb 26 2009, 17:25
- - theseBoetz   When I play either a .DTS or an .AC3 file in Fooba...   May 14 2008, 08:44
|- - OpaJo0   QUOTE (theseBoetz @ May 14 2008, 01:44) W...   May 15 2008, 21:40
|- - dts-fan   QUOTE (OpaJo0 @ May 15 2008, 21:40) QUOTE...   Nov 10 2008, 03:17
|- - Sazzily   Hiya, I am rather new to all of this.. but have g...   Nov 21 2008, 16:14
- - theseBoetz   I have an Audigy 2 NX as well, could it be that th...   May 16 2008, 13:04
- - Madsly   Plz, upload v1.3 to rapidshare (or anywhere else)...   Jun 6 2008, 10:24
- - Madsly   http://www.mamboo.ru/media/foobar2000/foo_spdif_1....   Jun 6 2008, 11:24
|- - Blualeono   QUOTE (Madsly @ Jun 6 2008, 04:24) http:/...   Aug 22 2008, 20:06
- - Shayne   Hi I had this working no problem for my ambisonic...   Jun 22 2008, 16:17
- - Shayne   Bump Just wondering if anyone has this working wi...   Jun 29 2008, 23:34
|- - Shayne   QUOTE (Shayne @ Jun 29 2008, 18:34) Bump ...   Jul 5 2008, 17:47
- - Mang1   Hi, Still having troubles with proper speed of pl...   Jul 20 2008, 11:04
- - Slipstreem   The link still works fine for me. Give it another ...   Aug 22 2008, 20:20
- - Tadas   Thanks for this dll, but I still got some issues. ...   Oct 5 2008, 10:11
- - conquerist   First off, thanks Grzesio, this is the first time ...   Jan 12 2009, 08:52
|- - infirmus   QUOTE (conquerist @ Jan 12 2009, 17:52) F...   Jan 14 2009, 06:46
- - roman2   Hi, I'de really like to use foo_spdif to pass...   Jun 20 2009, 15:29
- - Madsly   Grzesio: Can you fix a problem of freezing zooba...   Jul 24 2009, 22:16
- - Kick29   Hi all, Is there any chance to see this plugin po...   Aug 2 2010, 14:34
- - Grzesio   Hi... I had a few minutes so I modified spdif plu...   May 22 2011, 15:48
|- - Sandrine   QUOTE (Grzesio @ May 22 2011, 16:48) I ha...   May 22 2011, 16:27
|- - Polouess   hi. first, thanks for porting this plugin. however...   Jun 28 2011, 09:30
- - mudlord   QUOTE completely disabling the DSP in- and output ...   May 22 2011, 22:51
- - lvqcl   QUOTE do I need any additional MSVC*.dll? Yes, it...   Jun 28 2011, 16:30
|- - Polouess   QUOTE (lvqcl @ Jun 28 2011, 17:30) QUOTE ...   Jul 2 2011, 09:59
- - murrko   aww, http://ga.cba.pl/ is down for several days......   Feb 7 2012, 18:41
- - banan   Hello. I have a cheap plug-and-play USB sound card...   Mar 10 2012, 15:46
- - banan   I just tried foo_spdifer.dll -- and to my surprise...   Mar 10 2012, 16:08
2 Pages V   1 2 >


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th November 2014 - 14:41