The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: SPDIF out via GPIO (No Hat!)
#1
Ok so hear me out - I'm good enough with linux to follow instructions and do basic troubleshooting but definitely no expert.  I have been playing with digital output directly through the Pi's GPIO pins to my A/V receiver.  I'm hoping to find a way to get this working on a moOde installation and then having an entry in the drop-down menu as an Output Device in the Audio settings menu.

GitHub - mill1000/raspdif: S/PDIF digital audio output via Raspberry Pi GPIO.

I tried a couple things:

Note: All testing done on a PI4 with 4GB of RAM, but from what I can tell this works on any Pi.

Attempt #1

- Fresh install of moOde 8.3.0 - 64-bit
- install git and clang
- clone git and try to make - errors.
- manage to fix errors but doesn't seem to work

Attempt #2

- Fresh install of moOde 8.3.0 - 32-bit
- install git and clang
- clone git and try to make - no errors.
- install and test using ffmpeg - works!
- clearly 64-bit is a no-go

The rest of the steps don't yield results so I'm still poking around with moOde's configuration files to see if I can find a way to have it output to the FIFO, or maybe use the loopback option.  
I'll post an update when I get something working better, but thought I'd share my initial information in case someone else here has tried something similar or knows an easy way to make this work.
Reply


Messages In This Thread
SPDIF out via GPIO (No Hat!) - by Rees86 - 03-25-2023, 10:56 PM
RE: SPDIF out via GPIO (No Hat!) - by Nutul - 03-26-2023, 12:59 PM
RE: SPDIF out via GPIO (No Hat!) - by Rees86 - 03-26-2023, 02:41 PM
RE: SPDIF out via GPIO (No Hat!) - by Tim Curtis - 03-26-2023, 03:58 PM
RE: SPDIF out via GPIO (No Hat!) - by hifinet - 03-26-2023, 05:00 PM
RE: SPDIF out via GPIO (No Hat!) - by Rees86 - 03-30-2023, 12:32 AM
RE: SPDIF out via GPIO (No Hat!) - by livingevil - 03-06-2024, 09:52 AM
RE: SPDIF out via GPIO (No Hat!) - by Tim Curtis - 03-06-2024, 12:03 PM

Forum Jump: